Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default long time to create toolbar in excel 2003

Hi,

I am trying to create a toolbar and it takes a very long time in excel
2003(about 1 minute). What's the workaround for it ? It's very fast in excel
2000.

Code sample:

Application.CommandBars.Add Name:="ABC", Temporary:=True




--

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default long time to create toolbar in excel 2003

I'm running 2003 - I don't notice any delay.

Set a breakpoint on that line, run the code, then press F8 to step through.
Does it really take 1 minute to execute that line?

--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Srini" wrote in message
...
Hi,

I am trying to create a toolbar and it takes a very long time in excel
2003(about 1 minute). What's the workaround for it ? It's very fast in
excel
2000.

Code sample:

Application.CommandBars.Add Name:="ABC", Temporary:=True




--



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default long time to create toolbar in excel 2003

Hi Rob,
Yes, it happens only for the creation of first toolbar. After that it
creates the toolbars fast. Following is the code I tried, it took about 40
seconds for the first time after starting excel and 0 seconds after that (as
it's mesured in seconds).

I have excel 2003, Version: 11.5612.5606

Sub test()
t1 = Now
Application.CommandBars.Add Temporary:=True
t2 = Now

MsgBox (t2)
MsgBox (t1)

End Sub






"Rob van Gelder" wrote:

I'm running 2003 - I don't notice any delay.

Set a breakpoint on that line, run the code, then press F8 to step through.
Does it really take 1 minute to execute that line?

--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Srini" wrote in message
...
Hi,

I am trying to create a toolbar and it takes a very long time in excel
2003(about 1 minute). What's the workaround for it ? It's very fast in
excel
2000.

Code sample:

Application.CommandBars.Add Name:="ABC", Temporary:=True




--




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003 Macro taking long time in Excel 2007 Satish Excel Discussion (Misc queries) 3 November 3rd 09 04:58 PM
Long time user,can't create a chart-help! ChasX Charts and Charting in Excel 2 November 26th 07 05:25 AM
Clearing cells takes long, long time unclemuffin Excel Discussion (Misc queries) 9 August 17th 07 02:22 AM
Long time to launch/open/hang Excel 2003 Looking for help in NJ Excel Discussion (Misc queries) 0 January 13th 07 02:43 PM
Excel 2003 - long closing time when have many add-ins installed David Welch Excel Discussion (Misc queries) 0 January 11th 05 02:38 PM


All times are GMT +1. The time now is 07:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"