Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Excel and vba forms and bas files

Status
Not open for further replies.

cadcamguy

Industrial
Feb 23, 2005
348
I came across this situation when I would make edits to my userform when excel was started by another application.

I would export the frm file thinking that next time I run it will bring in the new info. After all I just saved it right. Next time it was like before, the update form had to be reloaded after removing the one with the same name.

Now I found that if I editted one item on the sheet and then bailed back to the calling app that my form edits during that session would be updated and next time I wouldn't have to reload the form.

This is old hat right? It's not so much that another app is calling it but the way excel wraps the forms and bas files.

If I run excel from the app. then it doesn't call in the files that I have in my xlstart dir.. if I just run excel then it seems to pull in the updated frm... not 100% on that okay :)

Just curious having found out the hard way

 
Replies continue below

Recommended for you

okay I did check and it must be the way vba is handled....
unlike VB if I save just the form, not the project it does bring in the newest version..weird
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor