Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
mike the new guy
 
Posts: n/a
Default Command button to point to a macro

Hi everyone,

I'm trying to get a command button to point to a macro that I recently
recorded and for some reason I'm having troubles. I'm sure there's part of
the code in visual basic that I'm missing... Can anyone help me out?

Thanks!!!
mike
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave O
 
Posts: n/a
Default Command button to point to a macro

There are two ways to add command buttons to a sprdsht: from the VBA
Control Toolbox and from the Forms toolbar. I find the button from the
Forms toolbar easiest to work with: when you invoke a button from
Forms, you will be asked what macro you want to assign to this button.
Afterwards you can right-click on the button and re-assign a different
macro.

  #3   Report Post  
Posted to microsoft.public.excel.misc
Patricia Shannon
 
Posts: n/a
Default Command button to point to a macro

If you want to add a button to an Excel toolbar, or create your own toolbar
with your own button(s), I can tell you how to do that.
What kind of "troubles" are you having? Do you need to know how to start
out putting the button on the toolbar, or how to map it to your macro, or how
to put text on the button, or what?

"mike the new guy" wrote:

Hi everyone,

I'm trying to get a command button to point to a macro that I recently
recorded and for some reason I'm having troubles. I'm sure there's part of
the code in visual basic that I'm missing... Can anyone help me out?

Thanks!!!
mike

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
Macro pulling data from 2 worksheets billrl34 Excel Discussion (Misc queries) 2 December 12th 05 08:50 PM
Editing a simple macro Connie Martin Excel Worksheet Functions 5 November 29th 05 09:19 PM
macro with F9 Kenny Excel Discussion (Misc queries) 1 August 3rd 05 02:41 PM
Make Alignment options under format cells available as shortcut dforrest Excel Discussion (Misc queries) 1 July 14th 05 10:58 PM
Playing a macro from another workbook Jim Excel Discussion (Misc queries) 1 February 23rd 05 10:12 PM


All times are GMT +1. The time now is 12:43 AM.

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"