Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, this may be an elementary question, but I don't have much experience
creating macos. I have created a form with a combination of text fields, check boxes and drop downs. To make it easier for the user, I want to create a macro so that if they choose a location name, it automatically fills in the location address, and phone numbers that are in different drop downs. But when I try to record a macro, it won't let me pick from a drop down. Am I missing a set here? I have read some previous entries on this site and it looks like I may have to use programming language. If so, how do I do that and what is it? Thanks in advance for the help. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
G'day Fly
Rather than using a macro, and or for that matter dropdowns on the supplimental information you want to automate, I would use a LookUp. Assumed New Lookup Sheet Name: MyLookups A B C D 1 Location Address Phone Contact 2 Australia Capital City Dr, Canberra 61 2 Blah Blah Kevin Rudd (PM) 3 USA Washington Blvd, DC Uncle Sam Bush Pig And So On............... On your Main User Sheet: A B C D 1 Location Address Phone Contact Dropdown B2 =IF($A1="","",(LOOKUP($A1,MyLookUps!$A$2:$D$63635, MyLookUps!$B$2:$B$63635))) lists C2 =IF($A1="","",(LOOKUP($A1,MyLookUps!$A$2:$D$63635, MyLookUps!$C$2:$C$63635))) D2 =IF($A1="","",(LOOKUP($A1,MyLookUps!$A$2:$D$63635, MyLookUps!$D$2:$D$63635))) Copy down as required HTH Mark. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Ooooops!
Sorry Fly should be B2 =IF($A2="","",(LOOKUP($A2,MyLookUps!$A$2:$D$63635, MyLookUps!$B$2:$B$63635))) C2 =IF($A2="","",(LOOKUP($A2,MyLookUps!$A$2:$D$63635, MyLookUps!$C$2:$C$63635))) D2 =IF($A2="","",(LOOKUP($A2,MyLookUps!$A$2:$D$63635, MyLookUps!$D$2:$D$63635))) Regards Mark |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks for the reply Mark, but when I printed it I realized that I must have
been under the wrong part in Office. My issued is in Word not Excel. Any ideas for MS Word? "NoodNutt" wrote: G'day Fly Rather than using a macro, and or for that matter dropdowns on the supplimental information you want to automate, I would use a LookUp. Assumed New Lookup Sheet Name: MyLookups A B C D 1 Location Address Phone Contact 2 Australia Capital City Dr, Canberra 61 2 Blah Blah Kevin Rudd (PM) 3 USA Washington Blvd, DC Uncle Sam Bush Pig And So On............... On your Main User Sheet: A B C D 1 Location Address Phone Contact Dropdown B2 =IF($A1="","",(LOOKUP($A1,MyLookUps!$A$2:$D$63635, MyLookUps!$B$2:$B$63635))) lists C2 =IF($A1="","",(LOOKUP($A1,MyLookUps!$A$2:$D$63635, MyLookUps!$C$2:$C$63635))) D2 =IF($A1="","",(LOOKUP($A1,MyLookUps!$A$2:$D$63635, MyLookUps!$D$2:$D$63635))) Copy down as required HTH Mark. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Creating drop downs in a cell contingent on another drop down | Excel Discussion (Misc queries) | |||
Drop downs | Excel Discussion (Misc queries) | |||
drop downs | Excel Discussion (Misc queries) | |||
Cross-referenced drop-down menu (nested drop-downs?) | Excel Worksheet Functions | |||
Macros? drop downs? | Excel Worksheet Functions |