+ Reply to Thread
Results 1 to 6 of 6

Is it possible to Use a cell value to "load" Offset movements?

  1. #1
    Registered User
    Join Date
    01-11-2013
    Location
    SW Texas, USA
    MS-Off Ver
    Excel 2010
    Posts
    8

    Is it possible to Use a cell value to "load" Offset movements?

    Good evening all,

    I'm attempting to create a macro that uses the cell value of the active cell to move the cell pointer "Down" to a new cell.

    This line is hand created: ActiveCell.Offset(16, 0).Select

    Is it possible to take the cell value from the "active" cell and load it into the "Offset" statement?

    Thanks to anyone able to help with this problem.

  2. #2
    Registered User
    Join Date
    11-13-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2003, 2010
    Posts
    73

    Re: Is it possible to Use a cell value to "load" Offset movements?

    You can set a variable to the activecell like this
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    11-13-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2003, 2010
    Posts
    73

    Re: Is it possible to Use a cell value to "load" Offset movements?

    ActiveCell.Value = i
    ActiveCell.Offset(i,

  4. #4
    Registered User
    Join Date
    01-21-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Is it possible to Use a cell value to "load" Offset movements?


  5. #5
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Is it possible to Use a cell value to "load" Offset movements?

    Perhaps this.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  6. #6
    Registered User
    Join Date
    01-11-2013
    Location
    SW Texas, USA
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Is it possible to Use a cell value to "load" Offset movements?

    sky1in5 - I appreciate the link, I hadn't discovered this yet.

    Norie - Thank you very much, that's exactly what I was looking for.

    Thanks to all of you for the replies, I appreciate knowing I can find help when I get stuck.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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