×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Macros

Macros

(OP)
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.

RE: Macros

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.

RE: Macros

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.

RE: Macros

(OP)
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.

RE: Macros

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.

RE: Macros

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

RE: Macros

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.

RE: Macros

(OP)
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.

RE: Macros

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

RE: Macros

(OP)
thanks a lot joerd !!!!!!!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close