+ Reply to Thread
Results 1 to 2 of 2

Defining cell range as a variable

  1. #1
    Registered User
    Join Date
    01-17-2005
    Posts
    28

    Defining cell range as a variable

    Hi,

    Stupid question here... how would I define a cell range as a variable?

    For example

    x = range("a1:a5")

    x.select


    How would I make this work?

    Thanks for your help.

    J

  2. #2
    Forum Contributor
    Join Date
    09-05-2004
    Location
    Melbourne
    Posts
    193
    Close, try this

    Set x = Range("A1:A5")

    x.Select

    Cheers!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1