A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

MACRO BUTTONS



 
 
Thread Tools Display Modes
  #1  
Old February 27th, 2009, 11:40 PM posted to microsoft.public.excel.newusers
John
external usenet poster
 
Posts: 2,649
Default MACRO BUTTONS

Hello,
If you have seveal buttons to activate different macros, can you put
all of the buttons into a drop-down?
As always, any help greatly appreciated.
  #2  
Old February 28th, 2009, 09:08 PM posted to microsoft.public.excel.newusers
Shane Devenshire
external usenet poster
 
Posts: 845
Default MACRO BUTTONS

Hi,

Well maybe, sort of. First, where is the drop down - is it in the
spreadsheet, on a toolbar, on a menu, or on a user form? What version of
Excel are you using?

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"JOHN" wrote:

Hello,
If you have seveal buttons to activate different macros, can you put
all of the buttons into a drop-down?
As always, any help greatly appreciated.

  #3  
Old March 1st, 2009, 12:23 AM posted to microsoft.public.excel.newusers
John
external usenet poster
 
Posts: 2,649
Default MACRO BUTTONS

I am using Excel 2007 and I would put the dropDown on the sheet,in the cells
that I want to paste the data.

"Shane Devenshire" wrote:

Hi,

Well maybe, sort of. First, where is the drop down - is it in the
spreadsheet, on a toolbar, on a menu, or on a user form? What version of
Excel are you using?

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"JOHN" wrote:

Hello,
If you have seveal buttons to activate different macros, can you put
all of the buttons into a drop-down?
As always, any help greatly appreciated.

  #4  
Old March 2nd, 2009, 06:39 PM posted to microsoft.public.excel.newusers
Gord Dibben
external usenet poster
 
Posts: 20,252
Default MACRO BUTTONS

With the names of your macros in a DV dropdown list.

Private Sub Worksheet_Change(ByVal Target As Range)
Dim rtext As String
If Intersect(Target, Me.Range("A1")) Is Nothing Then Exit Sub
rtext = Target.Value
Application.Run rtext
End Sub


Gord Dibben MS Excel MVP

On Fri, 27 Feb 2009 15:40:01 -0800, JOHN
wrote:

Hello,
If you have seveal buttons to activate different macros, can you put
all of the buttons into a drop-down?
As always, any help greatly appreciated.


  #5  
Old March 4th, 2009, 06:16 PM posted to microsoft.public.excel.newusers
John
external usenet poster
 
Posts: 2,649
Default MACRO BUTTONS

Thank you for your help

"Gord Dibben" wrote:

With the names of your macros in a DV dropdown list.

Private Sub Worksheet_Change(ByVal Target As Range)
Dim rtext As String
If Intersect(Target, Me.Range("A1")) Is Nothing Then Exit Sub
rtext = Target.Value
Application.Run rtext
End Sub


Gord Dibben MS Excel MVP

On Fri, 27 Feb 2009 15:40:01 -0800, JOHN
wrote:

Hello,
If you have seveal buttons to activate different macros, can you put
all of the buttons into a drop-down?
As always, any help greatly appreciated.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:51 PM.


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