Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macro to run when I open File

Status
Not open for further replies.

appvid

Automotive
Nov 9, 2012
81
Hello,

I have no clue how to do this. I wanted to create a start part for a group of designers. Any designer opens the file A macro should run automatically and give the results. Is there any way to evoke / trigger macro when a particular file gets opened.

thanks a lot for your help


regards
var

 
Replies continue below

Recommended for you

hello Fernando, I did see your code. WE do not want to launch catia thru script nor user interface to trigger macro.
AlexLozoya is right, just same as open event on excel. Do I need CAA for this??

 
Do you have money for CAA license? 50k (around but with plus [smile] ) ? And the knowledge to use it (I don't have it)?

I always try to find a reasonable solution, user has to do something... Anyway user has to open the part (no mater what), he can do it with a macro and inside that macro you can put everything....

Hope you understood my point.



Regards
Fernando

 
Looks like my idea is very expensive :-> , I have no knowledge of CAA and my boss has no money to buy CAA.. :)

I got your point... But I have other concerns to go with it. Every minute (from 8AM to 5 PM)designer opens many files from many directories. Designer will not close catia session just open file from a directory where I want to run macro.

Let me work around to stop designers skipping from filling the excel.

thank you all for your valuable suggestions, special thanks to Fernanado you are helpful just as usual.

regards
var
 
have you looked in KWA (E) if there are provisions for that action (launch macro on file open)?
 
As far as I know, NO such option. KWA can not trigger macro automatically. So i gave up.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor