Reply
 
Thread Tools Display Modes
  #1   Report Post  
DanG
 
Posts: n/a
Default populating the dropdowns in a combobox when opening the doc

Hi - I see your message to Jinny and have used the autonew/autoopen commands
in the code however it does not seem to be working when I open the document
....a copy of the code is below...

Public Sub AutoNew()
End Sub
Public Sub AutoOpen()
End Sub
Private Sub ComboBox1_Change()
ComboBox1.ColumnCount = 1
'Load data into ComboBox'
ComboBox1.List() = Array("Select One", "Public", "Private")

etc etc

Is this in the right place/module?

One other thing - this is for a questionnaire/survey - given the issues with
macros via email is there any advice on the best way to circulate this while
maintainig the integrity of the document .

thanks for your help...theres no doubt i need it all!!!

Regards

Dan
  #2   Report Post  
DanG
 
Posts: n/a
Default

sorry - i should have explained this better - the issue is I keep losing the
info in the drop downs and need to manually run the marco in the code.

"DanG" wrote:

Hi - I see your message to Jinny and have used the autonew/autoopen commands
in the code however it does not seem to be working when I open the document
...a copy of the code is below...

Public Sub AutoNew()
End Sub
Public Sub AutoOpen()
End Sub
Private Sub ComboBox1_Change()
ComboBox1.ColumnCount = 1
'Load data into ComboBox'
ComboBox1.List() = Array("Select One", "Public", "Private")

etc etc

Is this in the right place/module?

One other thing - this is for a questionnaire/survey - given the issues with
macros via email is there any advice on the best way to circulate this while
maintainig the integrity of the document .

thanks for your help...theres no doubt i need it all!!!

Regards

Dan

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hide Combobox when printing Jose J. Ramirez Microsoft Word Help 2 January 21st 05 05:07 PM


All times are GMT +1. The time now is 01:20 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"