Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / January 2007

Tip: Looking for answers? Try searching our database.

Extracting  values from a word file using perl

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ch.Dipu@gmail.com - 25 Jan 2007 10:27 GMT
Hai,
     How to retrieve the macro variables in a word document using
perl....

 Dipu
Perry - 28 Jan 2007 12:50 GMT
Info on MS Word Variables, look here
http://msdn2.microsoft.com/en-us/library/aa212463(office.11).aspx

So, in Word's object modell, the Variables collection is hosted in the
Document object which itself is hosted under the Word.Application object
Below (immediate window) sequence examplifies this

set d = word.ActiveDocument
set v = d.Variables.Add(Name:="Temp", Value:="12")
? d.variables(1)
12

Since I'm not a Perl developer, you'll have to translate the above
info to Perl.

Krgrds,
Perry

> Hai,
>      How to retrieve the macro variables in a word document using
> perl....
>
>  Dipu

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.