Link to home
Start Free TrialLog in
Avatar of damion69
damion69

asked on

Record an excel macro within vb app

Is there a way to open an excel document into my app, and record a macro and save the macro like in office? I can increase the points if needed
ASKER CERTIFIED SOLUTION
Avatar of leojl
leojl

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of leojl
leojl

hi again,

In VB design mode you should click on the
Project Menu, then click Referances
then scroll to Microsoft Excel 9.0 Object Library
check the box and click OK.

I have Office 2000 which has 9.0..
You might have a different number.

leo
Avatar of Richie_Simonetti
Basically, what leojl saids is true, do you need in other way?
hi yet again,

Richie, I would appreciate seeing another approach.
Perhaps more sophisticated to first check if there is
a running Excel and also to deal with possible errors.

leo
Avatar of damion69

ASKER

Thank you for this. Sorry it took so long, I am no longer on the project that needed that.