Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
HI there - I have been bungling my way around these combo boxs!!
I have copied some VBA code from here that allows me to popualte the drop downs on the combo boxes - great!! Although I have a few problems 1) When I save close and reopen the doc the data in the drop downs is gone and I have to do back into the view code screen and run the sub forms 2) Also it is a questionnarie - I would like to protect the doc but still have the drop downs work - options? 3) is there a code I can use that can be run when the docment is opened to ensure the fields are populated? NB- I do not have any knowledge of VBA programming! So please be easy on me! Thanks |
#2
![]() |
|||
|
|||
![]()
Sounds like you should be using a dropdown formfield rather than a combobox.
See Please Fill Out This Form Part 1: Create professional looking forms in Word http://www.computorcompanion.com/LPMArticle.asp?ID=22 Part 2: Adding Automation to your Word forms. http://www.computorcompanion.com/LPMArticle.asp?ID=46 Part 3: Learn more VBA (macros) to automate your forms. http://www.computorcompanion.com/LPMArticle.asp?ID=119 Part 4: Use custom dialog boxes in your Word forms http://www.computorcompanion.com/LPMArticle.asp?ID=127 Part 5: Connect your AutoForm to a database to save input time and keep better records! http://www.computorcompanion.com/LPMArticle.asp?ID=136 -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "DanG" wrote in message ... HI there - I have been bungling my way around these combo boxs!! I have copied some VBA code from here that allows me to popualte the drop downs on the combo boxes - great!! Although I have a few problems 1) When I save close and reopen the doc the data in the drop downs is gone and I have to do back into the view code screen and run the sub forms 2) Also it is a questionnarie - I would like to protect the doc but still have the drop downs work - options? 3) is there a code I can use that can be run when the docment is opened to ensure the fields are populated? NB- I do not have any knowledge of VBA programming! So please be easy on me! Thanks |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
locking forms and losing data | Microsoft Word Help | |||
Losing data in table | Microsoft Word Help | |||
Specific Email Merge w/ Specific Attachements | Mailmerge | |||
Word Field Codes in Excel data file | Mailmerge | |||
Losing Data after computer is rebooted | Mailmerge |