![]() |
Passing string from one private sub to another private sub
Hi, need suggestion or help to pass string from one private sub to another private sub. For example :
Private Sub 1 stringB = stringA Private Sub 2 stringA How do I pass the stringA to stringB? Have been reading around but not so sure about some of the comments on using ByVal, byRef or even using Public Sub and Module. Appreciate any input into this. Thanks in advance. |
Re: Passing string from one private sub to another private sub
Delcare that string Globally.
|
Re: Passing string from one private sub to another private sub
Subroutines in VB does not take params
|
Re: Passing string from one private sub to another private sub
I think he is asking in Visual Basic ( VB ) Shabbir !!
|
Re: Passing string from one private sub to another private sub
Quote:
|
Re: Passing string from one private sub to another private sub
:(
|
Re: Passing string from one private sub to another private sub
Quote:
|
Re: Passing string from one private sub to another private sub
:lol:
|
Re: Passing string from one private sub to another private sub
Yes.. I'm asking in VB6 :shy: Will making it as public sub helps?
|
Re: Passing string from one private sub to another private sub
Delcare that string Globally, it will work.
|
| All times are GMT +5.5. The time now is 17:39. |