+ Reply to Thread
Results 1 to 7 of 7

Locking first cell for macro to copy into

  1. #1
    Registered User
    Join Date
    08-31-2012
    Location
    Yorkshire
    MS-Off Ver
    Excel 2010
    Posts
    7

    Locking first cell for macro to copy into

    Hi,
    I'm having a problem with the following formula. In that I cannot get it to do what I need it to, where I need it

    Please Login or Register  to view this content.
    The formula itself is working, my issue is that I cannot get it to enter the data into the cells defined by the red selection. I'm trying to get it to start filling the formula in from cell A6, but it keeps starting from A1 even when I put $A$6. same with the B column. I don't know what this is even called so if it's been asked before then can someone point me in the right direction?

    Thanks
    Waz.
    (p.s I know the rest of the formula works because it gives me the values i need)

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,501

    Re: Locking first cell for macro to copy into

    You're looking in column D on Sheet Card for the last row.

    Works fine for me. If I have 1 to 16 in cells D1 to D16 on the Card sheet, it puts the formulae in rows 6 to 16 on the CHECK sheet.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    08-31-2012
    Location
    Yorkshire
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Locking first cell for macro to copy into

    Oh, well what I am wanting it to do is, for example with your example it only puts it into the cells 6 to 16, I am wanting it to put the formula FROM cell 6 to the 16th cell below for example. basically so it starts putting the values in from 6 down to the same number

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,501

    Re: Locking first cell for macro to copy into

    Then use CardLastRow+5 instead of just CardLastRow.


    Regards, TMS

  5. #5
    Registered User
    Join Date
    08-31-2012
    Location
    Yorkshire
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Locking first cell for macro to copy into

    Yes, that worked a treat Thanks for the help, I know it may have seemed an easy question but I have no training at all with macro's, just what I've tested and looked up :P

    Thanks a lot
    Waz

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

    Re: Locking first cell for macro to copy into

    @ Wazations

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,501

    Re: Locking first cell for macro to copy into

    You're welcome. Thanks for the rep.

    Give it time. I'm sure you'll get there!

    Regards, TMS

+ 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