Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Customizing right-click button

How to customize the right-click button to include macros, or other
frequently used functions?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,726
Default Customizing right-click button

Sub CreateRightClick()
With Application.CommandBars("Cell")
With .Controls.Add
.Caption = "Remove"
.OnAction = "Remove"
End With
With .Controls.Add
.Caption = "Remove2"
.OnAction = "Remove2"
End With


End With
End Sub


--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"stragger" wrote in message
...
How to customize the right-click button to include macros, or other
frequently used functions?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Customizing right-click button

You can use a:

Worksheet_SelectionChange macro. The macro can be written to perform
different functions on different cells. See:

http://www.cpearson.com/excel/events.htm


--
Gary's Student


"stragger" wrote:

How to customize the right-click button to include macros, or other
frequently used functions?

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
ummm, ummm, HELP!!! phattony72 Excel Discussion (Misc queries) 19 January 13th 07 05:02 PM
Data Matching Button for MS Excel 2007 or later Mr. Low Excel Worksheet Functions 0 October 21st 06 10:07 AM
Is there any way to have a maco click a command button ChairMan Excel Discussion (Misc queries) 0 March 23rd 06 04:58 PM
Sorting and copying automatically between worksheets nadia New Users to Excel 2 February 12th 06 11:18 PM
When I click buttons I have added the font or button resize, Why? Chris Excel Discussion (Misc queries) 2 October 26th 05 10:31 PM


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