+ Reply to Thread
Results 1 to 3 of 3

Changing range name to new active cell

  1. #1
    Valued Forum Contributor
    Join Date
    09-04-2007
    Location
    Ontario, Ca
    Posts
    624

    Changing range name to new active cell

    I need some help please. I hope the following code will explain my problem.

    'First, I dim cc as range - then set cc to activecell
    Dim cc As Range
    Set cc = ActiveCell

    'Then I do some steps and then re-select range name of cc
    Range("cc").Select 'This works, at least it goes to the correct cell

    'Then I select the 4th cell down and this works
    Application.Range("cc").Offset(4, 0).Activate

    'NOW, I want to set this activecell to be range cc - - - and I can't
    get this code to work.

    'Every code I try always takes me back to the original range set for
    cc.

    'CAN SOMEONE GIVE ME THE CORRECT SYNTAX TO MAKE THE ACTIVECELL BE
    RANGE cc

  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 Launchnet,

    Here is how to do it...
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

  3. #3
    Valued Forum Contributor
    Join Date
    09-04-2007
    Location
    Ontario, Ca
    Posts
    624

    Thanks for Solution

    Works great. Thanks very much.

    Matt

+ 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