+ Reply to Thread
Results 1 to 5 of 5

Paste Special Error with Offset Formula

  1. #1
    Forum Contributor
    Join Date
    06-16-2008
    Posts
    287

    Paste Special Error with Offset Formula

    Hi, I have written some code in Excel VBA for a report that I have created but seem to have ran into some issues.

    I have 2 sheets a form and a paste sheet, the code looks into the form sheet and copies the values in row 6 and then needs to paste this in the first available cell in row 3 (F3) but for some reason this pastes the data in F4 and i am not sure why this is.

    If somebody could please help.

    I have attached a sample workbook but the following is the code I have used.

    Please Login or Register  to view this content.
    Thanks in advance.

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: Paste Special Error with Offset Formula

    Not quite sure, but does this help?
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    06-16-2008
    Posts
    287

    Re: Paste Special Error with Offset Formula

    StephenR, thanks for this. Just wondering if i ran the code again would this then move onto the next row as there would already be data within cell F3 to L3?

    Thanks once again for your help.

  4. #4
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: Paste Special Error with Offset Formula

    It looks at the last used row in column A of paste sheet and pastes in F in the row below that. Not sure why you were using A. If everything is based on F then better to use that so change the RowCount line.

  5. #5
    Forum Contributor
    Join Date
    06-16-2008
    Posts
    287

    Re: Paste Special Error with Offset Formula

    StephenR, sorry for the delay, that worked perfectly. Thank you very much for your help.

+ 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