+ Reply to Thread
Results 1 to 2 of 2

Global Range

  1. #1
    Registered User
    Join Date
    03-06-2007
    Posts
    27

    Global Range

    Is there a way to make a legit global range?

    I want to call the same cell range in different worksheets and just have to specify which worksheet to use the range in. I am looping through a range and I need to use it in several worksheets and don't want to create a whole new loop for the second worksheet. Thanks in advance

    Sam
    Last edited by samshut; 03-23-2007 at 03:40 PM. Reason: Bad Title

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello Sam,

    Place your range loop in a Standard VBA Module. Declare your Sub or Function to take a String argument which will be the Worksheet name.

    For Example:
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

+ 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