Results 1 to 4 of 4

Thread: Selecting a range in Excel

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Posts
    9

    Post

    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

  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105

    Post

    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

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Posts
    9

    Post

    This is within an Excel spreadsheet.

  4. #4
    Lively Member
    Join Date
    Mar 2000
    Location
    Fort Lauderdale, FL USA
    Posts
    112
    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?
    Damonous

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width