Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
JonOfAllTrades
 
Posts: n/a
Default Keyboard Shortcut for More/Less Decimals

Hello, everyone. Can anyone tell me if there's a keyboard shortcut to
increase or decrease the number of decimal places displayed? If not, can I
create a keyboard shortcut? I've done that in Word, but I can't find a
similar feature in Excel.
Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default Keyboard Shortcut for More/Less Decimals

There are "Increase" and "Decrease" decimals buttons on the Standard Toolbar.

Vaya con Dios,
Chuck, CABGx3




"JonOfAllTrades" wrote:

Hello, everyone. Can anyone tell me if there's a keyboard shortcut to
increase or decrease the number of decimal places displayed? If not, can I
create a keyboard shortcut? I've done that in Word, but I can't find a
similar feature in Excel.
Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.misc
Bearacade
 
Posts: n/a
Default Keyboard Shortcut for More/Less Decimals


Put these in a new module, assign keyboard shortcut as you wish.

Hope that helps


Sub IncDec()

If Selection.NumberFormat = "0" Then
Selection.NumberFormat = Selection.NumberFormat & ".0"
Else
Selection.NumberFormat = Selection.NumberFormat & "0"
End If

End Sub

Sub DecDec()

If Selection.NumberFormat = "0" Then
Exit Sub
Else: Selection.NumberFormat = Left(Selection.NumberFormat,
Len(Selection.NumberFormat) - 1)
End If

End Sub


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=551980

  #4   Report Post  
Posted to microsoft.public.excel.misc
JonOfAllTrades
 
Posts: n/a
Default Keyboard Shortcut for More/Less Decimals

"Bearacade" wrote:


Put these in a new module, assign keyboard shortcut as you wish.

Hope that helps


Sub IncDec()

If Selection.NumberFormat = "0" Then
Selection.NumberFormat = Selection.NumberFormat & ".0"
Else
Selection.NumberFormat = Selection.NumberFormat & "0"
End If

End Sub

Sub DecDec()

If Selection.NumberFormat = "0" Then
Exit Sub
Else: Selection.NumberFormat = Left(Selection.NumberFormat,
Len(Selection.NumberFormat) - 1)
End If

End Sub


--
Bearacade


Thank you, Bear. That would involve adding a module to all of my
spreadsheets; I could strip it out again before forwarding them to clients
but that would be a pain.
  #5   Report Post  
Posted to microsoft.public.excel.misc
JonOfAllTrades
 
Posts: n/a
Default Keyboard Shortcut for More/Less Decimals

"CLR" wrote:

There are "Increase" and "Decrease" decimals buttons on the Standard Toolbar.

Vaya con Dios,
Chuck, CABGx3


<biting back sarcasm
I did notice those, Chuck. I try to avoid using the mouse if I can help it,
it'll slow you down every time.
The question was, can you set a keyboard shortcut to any abitrary command,
like you can in Word? I've made the buttons icon+text and set the text to
underlined "," and ".", but I was hoping for something a little more graceful.


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
what is the keyboard shortcut for double-click? Willem Excel Discussion (Misc queries) 2 June 12th 06 05:40 PM
Keyboard Shortcut for Zooming Henrik Excel Worksheet Functions 1 February 4th 06 08:54 PM
Keyboard shortcut not working when I copy macro to another computer telewats New Users to Excel 1 January 9th 06 08:52 PM
Isolating a Keyboard Shortcut RWN Setting up and Configuration of Excel 1 October 23rd 05 09:55 PM
keyboard shortcut Aditya Excel Worksheet Functions 1 February 21st 05 01:34 PM


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