Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default Creating Custom Commands on a Toolbar

When I have tried creating a custom command by recording a macro., the
command just performs the macro on the cell that I used to record the macro,
but I would like it to be on the toolbar no matter what excel book I open and
perform the command on the specific cell or text that I select, not the cell
that I used to create the Macro.

Can someone walk me though the exact steps to do this without having to
enter a code?

Thank you.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Creating Custom Commands on a Toolbar

You can use ActiveCell instead of Range("A1") in your code.

Or ActiveSheet or ActiveWorkbook

Store your macro(s) in your Personal.xls workbook and they will be available for
all open workbooks.

For a button available for all workbooks go to ToolsCustomizeCommandsMacros

Drag the smiley face button up to a Toolbar and assign the macro to that button.

Best however if your Personal.xls creates the Toolbar and the buttons.

See Dabra Dalgleish's site for more on creating Toolbars, but it does involve
entering code.

http://www.contextures.on.ca/xlToolbar02.html


Gord Dibben MS Excel MVP



On Mon, 19 Nov 2007 10:00:01 -0800, rllngriver
wrote:

When I have tried creating a custom command by recording a macro., the
command just performs the macro on the cell that I used to record the macro,
but I would like it to be on the toolbar no matter what excel book I open and
perform the command on the specific cell or text that I select, not the cell
that I used to create the Macro.

Can someone walk me though the exact steps to do this without having to
enter a code?

Thank you.


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
How can I use MS Word commands in an MS Excel toolbar? wbfree2 Setting up and Configuration of Excel 1 September 29th 06 01:48 PM
Excel toolbar commands Lori Excel Worksheet Functions 6 September 4th 05 12:47 AM
How to deploy custome toolbar/Menu commands in Excel? Hiten Excel Worksheet Functions 3 May 13th 05 07:41 PM
Toolbar commands cvgairport Excel Discussion (Misc queries) 3 May 6th 05 01:35 AM
Why are some commands in Excel's Drawing Toolbar greyed-out (eg T. Konrad Excel Discussion (Misc queries) 1 December 2nd 04 04:31 PM


All times are GMT +1. The time now is 06:11 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"