|
-
Mar 9th, 2000, 11:09 PM
#1
Thread Starter
New Member
Okay, I am working with an excel document and I have an input box coming up asking for a range, I have the string for selecting the range, but I need that put in to a variable, what kind of variable does it need to be? Nothing seems to work! Please help.
Thanks in advance
-
Mar 10th, 2000, 01:36 AM
#2
Frenzied Member
The easiest way to get the code you need is to turn macros on (in Excel), select the range, turn macros off and cut-n-paste the macro code into VB
-
Mar 10th, 2000, 01:38 AM
#3
Thread Starter
New Member
This is within an Excel spreadsheet.
-
Mar 10th, 2000, 04:02 AM
#4
Lively Member
I'm sort of confused on what you want, but here is my attempt.
Dim sResp as string
sResp = input("Please enter a range.", "Enter Range")
Now the response is in string format.
Is that what you wanted?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|