Add CommandBars take long time to return

  • Thread starter Thread starter Michael
  • Start date Start date
M

Michael

Hi,

Somebody kindly try the following to see why it take so
long to return from Adding a CommandBars. The problem is
on 'setting the name' but we do need a name for the
CommandBars. Thanks for any help.

Michael T.

Application.CommandBars.Add Name:="MyName", Temporary:=True
 
When I try it in MacXL04, the result is instantaneous...

What do you consider "so long"?
 
Hi,

Thanks for trying and reply. Ok, the steps is:
1. Run Excel.
2. Do Excel menu Tools->Macros->Record New Macro'
3. Just do 'Stop Recording'
4. Open Tools->Visual Basic Editor and put the following
line into to Macro's modules function. And press F8 to
step it.
5. The line will take about 20 seconds to return.

Thanks again for all help.

MT
 
There's something wrong with your setup. Following your steps exactly in
XL03 and XL04 result in instantaneous return for me.

I can't imagine what would cause a 20 second delay...
 

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