LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Shortcuts for toolbar buttons/view code of toolbar buttons

I would like to simply create a keyboard shortcut for some of the
toolbar buttons, namely the "Increase/Decrease Decimal" buttons.

I tried just recording them, but it records the action specific to the
recorded cell, -- i.e. if the cell that I record using the "Increase
Decimal" button on has 2 digits to the right of the decimal, the macro
will record

Selection.NumberFormat = "0.000"

The problem is, this recorded macro will set the number format to
three decimals, no matter how many decimal places are currently
displayed. I could do a workaround using if then statements, but this
made me wonder how I could either view the code that the toolbar
buttons use, or just assign a keyboard shortcut to existing toolbar
buttons.

Any ideas?

 
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
Shortcuts for toolbar buttons/view code of toolbar buttons ericm[_2_] Excel Programming 1 July 23rd 07 09:00 PM
Toolbar buttons are gone Brian Sells Excel Programming 0 May 19th 05 04:26 AM
custom toolbar buttons are saved where? Excel loads twice bymistake and all my custom toolbar buttons get gone!!! Kevin Waite Excel Programming 2 March 3rd 04 03:31 PM
saving toolbar buttons on custom toolbar Paul James Excel Programming 12 August 6th 03 08:28 AM
Toolbar Buttons Bob Phillips[_5_] Excel Programming 0 August 5th 03 10:34 PM


All times are GMT +1. The time now is 08:44 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"