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,885
Default writting a macro for the sum function so I can use it as a keyboard shortcut

Hi
something like

sub foo()
activecell.value= application.worksheetfunction. _
sum(selection)
end sub

-----Original Message-----
Hi,

How do I go about writting an excel macro or anything
else so that I can use a keyboard combination so as to
sum my highlighted range??

Please help

Please reply to my email address

thanks
.

 
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
keyboard shortcut for a macro Gary[_2_] Excel Worksheet Functions 3 October 24th 07 07:25 PM
Keyboard Shortcut in Macro osaka78 Excel Discussion (Misc queries) 3 January 16th 06 08:47 AM
Keyboard shortcut not working when I copy macro to another computer telewats New Users to Excel 1 January 9th 06 08:52 PM
Find Keyboard shortcut in a macro AuthorizedUserPF[_2_] Excel Programming 4 February 17th 04 04:06 AM
A good macro that works wrong with keyboard shortcut Allen[_4_] Excel Programming 1 September 12th 03 04:37 PM


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