Hi all,
I'm just beginning my journey into Visual Basic and am having trouble linking a function that I am able to do in excel, but cannot figure how to assign it to a macro (I've changed the headings to something able to post).
I have a lists created in 'Descriptions' with the following:
I am looking to having this command button:
Thanks,
Dan
I'm just beginning my journey into Visual Basic and am having trouble linking a function that I am able to do in excel, but cannot figure how to assign it to a macro (I've changed the headings to something able to post).
I have a lists created in 'Descriptions' with the following:
- List called Colour, with range of $A$2:$A$6
- List called Red, with range of $B$2:$D$2
- List called Blue, with range of $B$3:$E$3
- List called Green, with range of $B$4:$E$4
- List called Brown, with range of $B$5:$C$5
- List called Purple, with range of $B$6
- List called Location, with range of $A$8:$A$10
I am looking to having this command button:
- Add a new line along row 6
- Add date in B6
- Add list 'Location' in C6
- Add list 'Colour' in D6
- Add dependant drop down list of the colour ranges above (ie shades of red etc). I am able to manually achieve this through using the ValidateList=INDIRECT(D6) function but not able to figure out how to achieve this through visual basic.
Thanks,
Dan