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!

Macros 1

Status
Not open for further replies.

waseem19

Civil/Environmental
Nov 23, 2002
82
i've created a few macors ,but ever since a file ( personal.xls) opens eahc time i start excel ,is there a way to stop it from opening , i know that my macros are stored in it so i don't want to delete it.
 
Replies continue below

Recommended for you

Personal.xls is similar to normal.dot in word. It is the base template for the application. If you do not want the macros to load each time, rename personal.xls to something else and access it as needed. DimensionalSolutions@Core.com
While I welcome e-mail messages, please post all thread activity in these forums for the benefit of all members.
 
You can also store your code in its own module and store that .bas where you can access it for other vb applications for reference or use.
 
dear dsi

I’ve tried what you suggested, but unfortunately it didn't work ,i changed the file name to AAA ,but it loaded AAA ,so it is the same , if i tried to remove it from the default directory my macros will not load ,i want to stop this file from running and the same time keep the macros available through (TOOLS\Macros ) in excel. when i first created the macros this file didn't load but then something happened and it didn't load now it's coming again and i can't figure it out , ,

and furley I’m not that professional in excel so i don't know what r u talking about.

Please help.
 
Excel will automatically load all files in the xlstart directory. It doesn't matter what the name is, all files in that directory will load.

If you don't want them to load then you need to move it to another directory.

 
waseem19:

I don't really understand why you don't want the "personal" file to open... It's hidden and you don't even know it's there unless you are working in VBA. Is there something I'm missing??

jproj
 
I have done a similar thing as described above... I created an excel file named personal.xls and put it in my xlstart directory, and it opens up every time I start excel. The file includes sheet1 etc which look just like any other open spreadsheet. It is not hidden to me.

I can get rid of it by moving personal.xls to another directory (not xlstart), but then I don't have my macro's available unless I go find the file and open it.
 
my situation is exactly like electricpete , it's not hidden . and if i removed from the directory i won't access my macros ,, i need to know how to make it hidden.
 
Here is your solution from the Excel help:

Hide a workbook

1 Open the workbook.
2 On the Window menu, click Hide.

Note When you quit Microsoft Excel and a message asks if you want to save changes to the hidden workbook, click Yes. The next time you open the workbook, the workbook window remains hidden.

Regards,

Joerd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor