Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
bb3 bb3 is offline
external usenet poster
 
Posts: 1
Default Custom function on toolbar

I frequently need to calculate standard deviations (and standard
errors) in my spreadsheets. I can input the functions manually, but
wonder if it is possible to put a custom standard deviation button
(linked to a macro?) on the toolbar, thereby saving a lot of mouse
clicking. Since it is already done for the "SUM" function, I assume
it is possible to do with more complex formulas, but I can't figure
out how to program the selected cell range in the macro. I would
appreciate any advice.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 373
Default Custom function on toolbar

Sub SetSel()
Dim cell As Range
For Each cell In Selection
cell.Formula = "your formula"
Next cell
End Sub

cell.row will give you the cell's row
cell.column will give you the cell's column
cell.address will give you the cell's address

Hope this helps, James

"bb3" wrote in message
ups.com...
I frequently need to calculate standard deviations (and standard
errors) in my spreadsheets. I can input the functions manually, but
wonder if it is possible to put a custom standard deviation button
(linked to a macro?) on the toolbar, thereby saving a lot of mouse
clicking. Since it is already done for the "SUM" function, I assume
it is possible to do with more complex formulas, but I can't figure
out how to program the selected cell range in the macro. I would
appreciate any advice.



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
Custom Toolbar hfazal Excel Discussion (Misc queries) 2 September 15th 07 01:32 PM
Custom Toolbar Icons PJ Excel Discussion (Misc queries) 4 September 10th 07 03:52 PM
custom toolbar for operands jdrose Excel Discussion (Misc queries) 2 July 25th 06 04:28 PM
How can I copy a custom toolbar & put it on another pc? R_Adams Excel Worksheet Functions 0 February 9th 06 06:48 PM
custom toolbar not saved khurram saddique Excel Discussion (Misc queries) 1 February 18th 05 03:33 PM


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