Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
open up a word document in excel
Hi,
I need to know weather its possible to dispaly the contents of a word document within a userform, if this is not possible whats is the code for opening up a word doc within excel itself. many thanks Johny5 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
open up a word document in excel
Private Sub OpenWordDocumentButton_Click()
Dim wdApp As Word.Application strFilename = "Full pathname here" Set wdApp = CreateObject("Word.Application") With wdApp .Documents.Open Filename:=ThisWorkbook.Path & "\" & strFilename .Visible = True End With Set wdApp = Nothing End Sub ------------------ Maybe this will help Nick Shinkins " wrote: Hi, I need to know weather its possible to dispaly the contents of a word document within a userform, if this is not possible whats is the code for opening up a word doc within excel itself. many thanks Johny5 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
excel trying to open word document | Excel Discussion (Misc queries) | |||
open word document in excel | Excel Discussion (Misc queries) | |||
what happens if I open an excel document in word? | Excel Discussion (Misc queries) | |||
open a new word document out of excel | Excel Programming | |||
open a word document in excel | Excel Programming |