Word 2010 Form......

pwillo1982

DW Member +
Joined
Dec 3, 2008
Messages
524
Reaction score
41
Does anyone have any experience using macros/VBA/activex controls ??

I need to create a form in Word 2010 for work which will query a folder path and list all of the folders as a choice in a drop down list.

I know how to set up the simple form fields but stumped when it comes to pulling the data through to a combo box.

Is this even possible ?? Any help would be appreciated :)
 
Not sure what you're trying to do but this:

Dialogs(wdDialogInsertFile).Show

Will call the standard Windows File, Open Dialogue from within your macro.

Example:

With Dialogs(wdDialogInsertFile)
If .Show <> 0 Then
sFileName = .Name
MsgBox sFileName
End If
End With

Will insert the selected file into the document...
 
Back
Top