Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
open a new word document Ciara Excel Discussion (Misc queries) 1 May 18th 05 11:04 AM
open word document kari Excel Programming 1 August 30th 04 02:47 AM
Open a Word Document Frank[_19_] Excel Programming 1 February 5th 04 08:09 PM
open a new word document out of excel walt Excel Programming 0 August 11th 03 09:22 PM


All times are GMT +1. The time now is 04:08 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"