Thread: [Solved] Execute VBA on File Import
View Single Post
 
Old 04-12-2016, 06:01 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Presumably you want something like:
Code:
Sub InsertFile()
With Dialogs(wdDialogInsertObject)
  .Tab = 1
  .DisplayIcon = False
  .Link = False
  If .Show = True Then
    Call Macro1
    Call Macro2
    Call Macro3
    Call Macro4
    Call Macro5
  End If
End With
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote