Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Someone sent me this script: Sub CreateNewWordDoc() ' to test this code, paste it into an Excel module ' add a reference to the Word-library ' create a new folder named C:\Foldername or edit the filnames in the code Dim wrdApp As Word.Application Dim wrdDoc As Word.Document Dim i As Integer When using excel, how do i add a reference to the word-library? -- Tha BeatMaker ------------------------------------------------------------------------ Tha BeatMaker's Profile: http://www.excelforum.com/member.php...o&userid=23998 View this thread: http://www.excelforum.com/showthread...hreadid=376456 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Goto the VBA editor - Alt-F11 then use Tools-References - look for
Microsoft Word 10.0 Object Library and tick the check box. The version number of the word version installed may be different depending on your set up. -- Cheers Nigel "Tha BeatMaker" wrote in message news:Tha.BeatMaker.1q2p6c_1117839910.7844@excelfor um-nospam.com... Someone sent me this script: Sub CreateNewWordDoc() ' to test this code, paste it into an Excel module ' add a reference to the Word-library ' create a new folder named C:\Foldername or edit the filnames in the code Dim wrdApp As Word.Application Dim wrdDoc As Word.Document Dim i As Integer When using excel, how do i add a reference to the word-library? -- Tha BeatMaker ------------------------------------------------------------------------ Tha BeatMaker's Profile: http://www.excelforum.com/member.php...o&userid=23998 View this thread: http://www.excelforum.com/showthread...hreadid=376456 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I convert an Excel document to a Word Document | Setting up and Configuration of Excel | |||
Cross reference bookmarks in a Microsoft word document | Excel Discussion (Misc queries) | |||
convert excel document to word document (not a picture) | Excel Discussion (Misc queries) | |||
Changing a Word Document to a CSV Formated Document | New Users to Excel | |||
How do I convert a word document into a Excel document | Excel Discussion (Misc queries) |