Sabtu, 05 Mei 2012

[ExcelVBA] Re: Need to automatically invoke an EXCEL MACRO

 

A better strategy will be to have the macro run as a Workbook_Open() event.

So the following macro will be a property of the Workbook:

Private Sub Workbook_Open()
DoStuff
End Sub

You won't be able to automate this through a batch file, and doing it via automation in VBS is a can of worms that I guarantee you don't want to get into if you don't already know a lot about VB/A and VBS.

Hafizullah
Hafizullah
@}->-`,--

[Non-text portions of this message have been removed]

__._,_.___
Recent Activity:
----------------------------------
Be sure to check out TechTrax Ezine for many, free Excel VBA articles! Go here: http://www.mousetrax.com/techtrax to enter the ezine, then search the ARCHIVES for EXCEL VBA.

----------------------------------
Visit our ExcelVBA group home page for more info and support files:
http://groups.yahoo.com/group/ExcelVBA

----------------------------------
More free tutorials and resources available at:
http://www.mousetrax.com

----------------------------------
.

__,_._,___

Tidak ada komentar:

Posting Komentar