Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Help about Word document

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,1157
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Help about Word document
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Help about Word document - 7/19/2004 6:42:38 PM   
  milanezi

 

Posts: 1
Score: 0
Joined: 7/19/2004
From:
Status: offline
Hi

I am new to VBScript and I want to know where I can get help about creating Word document. For example ( yesterday I wrote this code ) :

Dim objWord
Dim doc
Set objWord=CreateObject("Word.Application")
Set doc=CreateObject("Word.Document")
objWord.Application.Visible = True
doc = objWord.Documents.Add()
with objWord
.Selection.Font.Name = "Times New Roman"
.Selection.Font.Size = 16
.Selection.TypeText vbTab
.Selection.TypeText "Hello Word"
.Selection.TypeText vbNewLine
end with

What I need is information where to find specific method or properties
about Word.Application or .Selection.Font, etc
Are there some usefull e-book ?

Thanks in advanced
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Help about Word document Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts