Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 246
Default SOMEONE MUST KNOW!!... keepItCool?? Tom?? Dave??

I previously posted:

Somebody must know:
In Excel 2000 I was able to use the following code to add the Autosum
control to a custom toolbar:

Add(msoControlButton, 226)


In Excel 2003 this doesn't seem to work anymore - anyone know what
number it is now?
Any help greatly appreciated,
Jason.


I've since found control button ID 2018 which says 'Sum' but doesn't
seem to autosum?
I could use a random faceID and add a routine of my own but it'd be a
lot easier if I could expose Excel's built in function.

Help appreciated,
Jason

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default SOMEONE MUST KNOW!!... keepItCool?? Tom?? Dave??

I recorded a macro when I added autosum to a test toolbar:

Application.CommandBars("Custom 1").Controls.Add _
Type:=msoControlSplitButtonPopup, ID:=226, Befo=2

Notice the difference in type.

Now back to excel and notice that the autosum button in xl2003 (maybe
xl2002????) has been enhanced to include a dropdown arrow that gives more
functionality.



WhytheQ wrote:

I previously posted:

Somebody must know:
In Excel 2000 I was able to use the following code to add the Autosum
control to a custom toolbar:

Add(msoControlButton, 226)

In Excel 2003 this doesn't seem to work anymore - anyone know what
number it is now?
Any help greatly appreciated,
Jason.

I've since found control button ID 2018 which says 'Sum' but doesn't
seem to autosum?
I could use a random faceID and add a routine of my own but it'd be a
lot easier if I could expose Excel's built in function.

Help appreciated,
Jason


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 246
Default SOMEONE MUST KNOW!!... keepItCool?? Tom?? Dave??

Dave: you've dug me out of a hole once again!!
Obviously I didn't realise that this could be recorded: but I do now,
which is excellent.

Thanks again,
Jason.



Dave Peterson wrote:
I recorded a macro when I added autosum to a test toolbar:

Application.CommandBars("Custom 1").Controls.Add _
Type:=msoControlSplitButtonPopup, ID:=226, Befo=2

Notice the difference in type.

Now back to excel and notice that the autosum button in xl2003 (maybe
xl2002????) has been enhanced to include a dropdown arrow that gives more
functionality.



WhytheQ wrote:

I previously posted:

Somebody must know:
In Excel 2000 I was able to use the following code to add the Autosum
control to a custom toolbar:

Add(msoControlButton, 226)

In Excel 2003 this doesn't seem to work anymore - anyone know what
number it is now?
Any help greatly appreciated,
Jason.

I've since found control button ID 2018 which says 'Sum' but doesn't
seem to autosum?
I could use a random faceID and add a routine of my own but it'd be a
lot easier if I could expose Excel's built in function.

Help appreciated,
Jason


--

Dave Peterson


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
Dave phlogiston appears in spreadsheet cell when I type Dave P tallsaint Excel Discussion (Misc queries) 2 September 4th 09 11:05 AM
Dave Peterson joelbeveridge Excel Discussion (Misc queries) 1 August 4th 06 02:55 AM
to Dave Peterson Ross Excel Discussion (Misc queries) 2 September 18th 05 04:45 PM
Dave - Wazooli Excel Programming 1 March 1st 05 11:46 PM
ATTN: KEEPITCOOL pk Excel Programming 4 November 25th 03 11:21 PM


All times are GMT +1. The time now is 10:10 AM.

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"