Re: Calling a private sub in Outlook via toolbar button
- From: "sapphire" <claudia914@xxxxxxxxx>
- Date: 5 Jul 2006 08:38:45 -0700
It's private because when I type, for example:
Public Sub MyWrapper() and I include something in the () - (var as
Boolean), it automatically makes it a private sub.
Thanks.
Jake Marx wrote:
sapphire wrote:
Can you give me an example of a Public wrapper subroutine?
Thanks much.
All I was talking about was creating a Public subroutine that in turn called
the Private one (from the same Module of course).
Public Sub MyWrapper()
DoMyStuff True
End Sub
Private Sub DoMyStuff(dummyVar As Boolean)
'/ your code here
End Sub
But why are is your subroutine Private in the first place if you want it to
be globally callable?
--
Regards,
Jake Marx
www.longhead.com
[please keep replies in the newsgroup - email address unmonitored]
.
- Prev by Date: Re: Use Excel as a network packet sniffer?
- Next by Date: Re: Delete Row Based On Two Columns
- Previous by thread: Run-time error 1004 - General ODBC Error
- Next by thread: Re: Breaking password on VB Code
- Index(es):