Why unhide personal.xls to modify a macro

  • Thread starter Thread starter Brian Tozer
  • Start date Start date
B

Brian Tozer

Many tutorials state that to create or modify a macro in the personal.xls
workbook it needs to be unhidden.
I seem to be able to view and modify such a macro when it is hidden.
Why the apparant discrepancy?
I am using Excel 2002.
I an confused.

Brian Tozer
 
When Personal.xls is hidden, you can't access its macros through
Tools>Macro>Macros.

However, you can press Alt+F11, and in the Visual Basic Editor, create
or modify a macro in Personal.xls, whether or not it's hidden.
 
You sure?

I could see the macros in a small test (xl2002).

Maybe you meant if you saved it as an addin (personal.xla)????
 
You can see the macros, but if you select one, and click the Edit
button, a message should appear that says, "Cannot edit a macro on a
hidden workbook..."

Dave said:
You sure?

I could see the macros in a small test (xl2002).

Maybe you meant if you saved it as an addin (personal.xla)????
 
Ahhh. I see your point. Access <> Run.

Sorry about my confusion.



Debra said:
You can see the macros, but if you select one, and click the Edit
button, a message should appear that says, "Cannot edit a macro on a
hidden workbook..."
 
but if you select one, and click the Edit

Who would use that method to edit a macro? <g>

If your going to edit a macro, go to the VBE - as they say

"if your going to get a dog, get a dog!"

--
Regards,
Tom Ogilvy


Debra Dalgleish said:
You can see the macros, but if you select one, and click the Edit
button, a message should appear that says, "Cannot edit a macro on a
hidden workbook..."
 
Nobody I know! <g>

However, the original question referred to tutorials, and many that I've
seen start with recording macros, and accessing the code through this
dialog box. They don't explain other (better) methods.
 
Bad explanation on my part -- I had written a much longer version, but
thought it was too long and boring, so I trimmed it (too much, apparently!)

Dave said:
Ahhh. I see your point. Access <> Run.

Sorry about my confusion.
 
Thanks very much Debra.
Your post and the subsequent discussion has totaly illuminated the confusion
and the apparant contradictions that I encountered.
It isn't easy being a newbie. :-)))
However you newsgroup posters do make self-learning possible.
Brian
 
You're welcome. Sometimes, what's in the textbooks and tutorials isn't
the most efficient way to perform tasks. If you keep reading and asking
questions here, you'll get lots of 'real-world' advice.
 
And over 65% of it is accurate!


Debra said:
You're welcome. Sometimes, what's in the textbooks and tutorials isn't
the most efficient way to perform tasks. If you keep reading and asking
questions here, you'll get lots of 'real-world' advice.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top