+ Reply to Thread
Results 1 to 5 of 5

Newbie Relative Reference Question

  1. #1
    Registered User
    Join Date
    07-15-2012
    Location
    Minnesota
    MS-Off Ver
    Excel 2010
    Posts
    4

    Newbie Relative Reference Question

    I am a newbie to Macro's and VBA code and could use some help with what I assume is a relatively easy question.

    I want to have a macro code that I can tie to multiple macro buttons without having to have multiple macro's. What I am trying to do is have a button that says "COPY" and that button will copy whatever is to the right of it (move 7 cells to the right and then copy a range of 124 rows to the right). I would like to have a paste button that would paste that range over the same cells of a different row.

    My goal is to have a copy button and a paste button in columns a and b for every row of data that way someone could hit the copy button and copy all the data for a promotion and click the paste button to paste it in a different promotion.

  2. #2
    Registered User
    Join Date
    07-15-2012
    Location
    Minnesota
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Newbie Relative Reference Question

    Please help.

  3. #3
    Registered User
    Join Date
    07-15-2012
    Location
    Minnesota
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Newbie Relative Reference Question

    I don't understand, is this too easy of a problem to help with?

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Newbie Relative Reference Question

    I'm not a VBA guy but look into Application.Caller and Offset and Resize.

  5. #5
    Registered User
    Join Date
    07-15-2012
    Location
    Minnesota
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Newbie Relative Reference Question

    This is the formula I have now

    Please Login or Register  to view this content.
    But it will only copy the first row
    Last edited by Cutter; 08-09-2012 at 05:03 PM. Reason: Added code tags

+ 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