Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm new to MZTools, figuring out how and when to use it. Found some very
useful features - the "find" is great! Have used the Msgbox help a couple of times, just to try it out. I'm curious as to why it inserts a "Call" in front of Msgbox, like this: Call MsgBox("There is no password listed for this sheet!", vbExclamation, "Missing Password") I've never used a "call" with a Msgbox, and it always worked fine. But if I delete it here, the code goes red. Why? As always, thanks! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Call is unnecessary, but if you omit it, you need to remove the parens
around the arguments. - Jon ------- Jon Peltier, Microsoft Excel MVP Peltier Technical Services, Inc. http://PeltierTech.com/WordPress/ _______ "salgud" wrote in message ... I'm new to MZTools, figuring out how and when to use it. Found some very useful features - the "find" is great! Have used the Msgbox help a couple of times, just to try it out. I'm curious as to why it inserts a "Call" in front of Msgbox, like this: Call MsgBox("There is no password listed for this sheet!", vbExclamation, "Missing Password") I've never used a "call" with a Msgbox, and it always worked fine. But if I delete it here, the code goes red. Why? As always, thanks! |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Thu, 5 Mar 2009 08:36:40 -0500, Jon Peltier wrote:
Call is unnecessary, but if you omit it, you need to remove the parens around the arguments. - Jon ------- Jon Peltier, Microsoft Excel MVP Peltier Technical Services, Inc. http://PeltierTech.com/WordPress/ _______ "salgud" wrote in message ... I'm new to MZTools, figuring out how and when to use it. Found some very useful features - the "find" is great! Have used the Msgbox help a couple of times, just to try it out. I'm curious as to why it inserts a "Call" in front of Msgbox, like this: Call MsgBox("There is no password listed for this sheet!", vbExclamation, "Missing Password") I've never used a "call" with a Msgbox, and it always worked fine. But if I delete it here, the code goes red. Why? As always, thanks! Thanks, John. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
Stop users from accessing "Protection" option from "Tools" menu | Excel Programming | |||
unable to load "Excel" analysis toolpak tried the tools and brows | Excel Discussion (Misc queries) | |||
Call a sub statement in "Personal Macro Workbook" from "ThisWorkbo | Excel Programming | |||
CommandBars("Worksheet Menu Bar").Controls("Tools").Enabled = Fals | Excel Programming |