Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I have a macro defined in a module. How can I call that macro from a actionButton on a UserForm? Right now it's telling me "Sub or Functio not defined. -- AMK ----------------------------------------------------------------------- AMK4's Profile: http://www.excelforum.com/member.php...fo&userid=1914 View this thread: http://www.excelforum.com/showthread.php?threadid=50754 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Are you using Call?
Call MacroName "AMK4" wrote: I have a macro defined in a module. How can I call that macro from an actionButton on a UserForm? Right now it's telling me "Sub or Function not defined." -- AMK4 ------------------------------------------------------------------------ AMK4's Profile: http://www.excelforum.com/member.php...o&userid=19143 View this thread: http://www.excelforum.com/showthread...hreadid=507544 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() JMB Wrote: Are you using Call? Call MacroName Yes I am. Does it make a difference if the macro being called is a Private one (which it is)? -- AMK4 ------------------------------------------------------------------------ AMK4's Profile: http://www.excelforum.com/member.php...o&userid=19143 View this thread: http://www.excelforum.com/showthread...hreadid=507544 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Private Sub procedures are only available to other macros declared in the
same module. "AMK4" wrote: JMB Wrote: Are you using Call? Call MacroName Yes I am. Does it make a difference if the macro being called is a Private one (which it is)? -- AMK4 ------------------------------------------------------------------------ AMK4's Profile: http://www.excelforum.com/member.php...o&userid=19143 View this thread: http://www.excelforum.com/showthread...hreadid=507544 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to get userform Cancel button to invoke Exit Sub in calling macro? | New Users to Excel | |||
Calling function from a userform | Excel Discussion (Misc queries) | |||
Button on Userform calling GetOpenFilename | Excel Programming | |||
VBA question - Calling txt file from userform | Excel Programming | |||
VBA question - calling Procedure from userform | Excel Programming |