Jump to content

Recommended Posts

Posted

Hi

I am trying to click on a macro button in excel using - $oWorkbook.Sheets($Sheet).Activate
$oExcel_1.Run("01_003737-5.xlsm!PixelTime")

I am able to click on the macro successfully but this "01_003737-5.xml" file is autogenerated and every time the filename would be different 

How can I click on that macro with different filename everytime? Any ideas?

Thanks in advance

 

 

Posted

It would be great if you can share a working version(modifed) of the Macro/Excel because probably macro has fixed path. 

 

Saludos

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...