LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 309
Default Can Excel startup Word?

Thank you very much. That code seems to be working exactly
as I hoped.

I just have one question about the getWord() function. There is
a line of code which reads as follows:

getWord.Visible = msoCTrue

getWord.Visible can only be assigned a True or False value,
so what exactly is this "msoCTrue" variable. I tried to Google it,
but the results came up with "msoTrue". Is this a typo???



"minimaster" wrote in message
...

Private Function getWord() As Word.Application
On Error Resume Next
Err.Clear
Set getWord = GetObject(, "Word.Application")
If Err.Number < 0 Then ' iff Word isn't there lets start it
Set getWord = CreateObject("Word.Application")
Err.Clear
End If
getWord.Visible = msoCTrue
End Function




 
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
Excel startup Raju Excel Discussion (Misc queries) 5 August 25th 09 03:53 AM
excel startup Chuck Sechler Setting up and Configuration of Excel 7 July 12th 07 04:10 PM
Excel Startup Zygan Excel Discussion (Misc queries) 1 May 19th 06 02:01 AM
Excel Startup Zygan Excel Discussion (Misc queries) 1 May 14th 06 12:53 PM
Excel/Word startup: 'Compile error in hidden module: AutoExec' ?? dozer Excel Discussion (Misc queries) 1 September 17th 05 01:55 AM


All times are GMT +1. The time now is 06:43 PM.

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

About Us

"It's about Microsoft Excel"