Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

How to check where is stored .ebm file?

Status
Not open for further replies.

sagitt

Technical User
Dec 2, 2009
8
0
0
IE
Hi All,

I need to check if .ebm file that contains a macro is stored in a specific folder (basically I do not want the users to copy a macro file to their personal folders). In Excel this is very simple. Say I have MyFile.xls saved in C:\MyFolder folder. So the code is like that:

if activeworkbook.path <> "c:\myfolder" then exit sub

Question is how do I get this done in extra basic?

regards, sagitt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top