Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can I load a bmp file when i start the word application using vba mac

Status
Not open for further replies.

jpraman

Instructor
Mar 27, 2003
10
0
0
IN
can i load a bmp file when i start the word application using vba macros without using forms
or
can i hide the caption property for the form
 
Hi,

Use the Document_Open event...
Code:
Private Sub Document_Open()
    Selection.InlineShapes.AddPicture _
        FileName:="C:\WINDOWS\Houndstooth.bmp", _
        LinkToFile:=False, _
        SaveWithDocument:=True
End Sub
Hope this helps :) Skip,
Skip@TheOfficeExperts.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top