Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default PASSING A STRING VALUE

I have 2 modules my first module contains a string that
has a value and I want to pass that string value to
another module how can this be done?
thanks Sirron
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default PASSING A STRING VALUE

Sub test()
Call SomewhereElse("Hi Sirron !")
End Sub

Sub SomewhereElse(What As String)
Dim L As Long
For L = 1 To 3
MsgBox What, , L & " of 3"
Next
End Sub

--
HTH. Best wishes Harald
Excel MVP

Followup to newsgroup only please.

"Sirron" wrote in message
...
I have 2 modules my first module contains a string that
has a value and I want to pass that string value to
another module how can this be done?
thanks Sirron



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default PASSING A STRING VALUE

can you be more specific, where exactly is the string



-----Original Message-----
I have 2 modules my first module contains a string that
has a value and I want to pass that string value to
another module how can this be done?
thanks Sirron
.

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
formula for % passing RKing Excel Worksheet Functions 2 August 30th 07 03:32 PM
Passing Query String into MS Excel napval Excel Discussion (Misc queries) 0 June 19th 07 06:04 AM
Passing string as array variable (Pivot VBA) klingongardener Excel Discussion (Misc queries) 2 December 23rd 06 07:58 PM
Property Let: assign return value of Double when passing String Tetsuya Oguma Excel Discussion (Misc queries) 1 March 3rd 06 08:01 AM
Passing Variables Jeff Excel Discussion (Misc queries) 1 November 4th 05 06:46 PM


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