Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Open a Word document problem
Hi,
I have code to open a Word document and that's working fine. However, the Word document that opens doesn't have the PDF buttons or menu. How can I get these buttons to show from my Excel VBA code? Thanks, Eric |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Open a Word document problem
Hi Eric
You can change this example for Word This was suggested by KeepItCool : Code from KeepItCool (Oct 21, 2004) Sub LoadXLwithAddins() Dim xl As Object Dim ai As Object Set xl = CreateObject("Excel.Application") For Each ai In Application.AddIns If ai.Installed Then xl.Workbooks.Open(ai.FullName).RunAutoMacros 1 End If Next xl.Visible = True Set xl = Nothing End Sub -- Regards Ron de Bruin http://www.rondebruin.nl "Eric L." wrote in message ... Hi, I have code to open a Word document and that's working fine. However, the Word document that opens doesn't have the PDF buttons or menu. How can I get these buttons to show from my Excel VBA code? Thanks, Eric |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
open a new word document | Excel Discussion (Misc queries) | |||
open word document | Excel Programming | |||
Open a Word Document | Excel Programming | |||
open a new word document out of excel | Excel Programming |