Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
qpg qpg is offline
external usenet poster
 
Posts: 11
Default Run a subroutine from a worksheet without button, menu, or shortcut key…

Im looking for a way to run a sub from a worksheet. Something
equivalent to a command line in AutoCAD. I had in mind entering a
function in a cell that would return True when done but in the mean
time call a sub routine and allow for range selection, etc.

It does not seem that this can be done with a function calling a sub
but does anyone have a workaround? Is there a way to trigger a sub
from cell or the formula bar?

Thanks,

Michael
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 812
Default Run a subroutine from a worksheet without button, menu, or shortcut key…

Subs can be triggered from worksheet events, e.g. Worksheet_Change()
and
Worksheet_SelectionChange().

Hth,
Merjet



  #3   Report Post  
Posted to microsoft.public.excel.programming
qpg qpg is offline
external usenet poster
 
Posts: 11
Default Run a subroutine from a worksheet without button, menu, or shortcut key…

On Jun 12, 10:04*am, merjet wrote:
Subs can be triggered from worksheet events, e.g. Worksheet_Change()
and
Worksheet_SelectionChange().

Hth,
Merjet


Thanks but I think it needs to be a little more intentional than that.
Anyone have anyother ideas?
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
Worksheet Shortcut Menu PosseJohn Excel Discussion (Misc queries) 2 February 1st 10 10:14 PM
Shortcut menu won't appear when I click right mouse button. jngrant28 Excel Discussion (Misc queries) 3 June 17th 08 05:23 PM
Excel desktop shortcut to cmd button in worksheet [email protected] Excel Programming 2 July 5th 06 07:15 PM
VBA to disable "Delete...." on shortcut menu of worksheet tab? Mary Kathryn Excel Discussion (Misc queries) 3 March 3rd 06 05:54 PM
Shortcut menu on worksheet tab David Excel Programming 1 November 3rd 03 02:15 PM


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