Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Pass arguments to VBA macro

by marto (Cardinal)
on May 11, 2007 at 09:50 UTC ( [id://614862]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    $word->Documents->Add || die("Unable to create document ", Win32::OLE-
    +>LastError());
    
    $word->run("test", "D:\\Prasad\\Projects\\tools\\vdd");
    
  2. or download this
    Sub test(teststring as String)
    
    MsgBox(teststring)
    
    End Sub
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://614862]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-16 12:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found