+ Reply to Thread
Results 1 to 5 of 5

#REF error for the first row

  1. #1
    Registered User
    Join Date
    09-30-2009
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    44

    #REF error for the first row

    Hi,

    When I execute this macro, I am getting #REF error on the first row after the column headers (AQ2:AS2)


    Please Login or Register  to view this content.

    Thanks in advance.

  2. #2
    Registered User
    Join Date
    09-30-2009
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    44

    Re: #REF error for the first row

    I will appreciate any help with this post. I have upcoming deadline and I am encountering this problem.

    Thanks.

  3. #3
    Forum Contributor trucker10's Avatar
    Join Date
    07-22-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2003 / 2007 / 2010 prof +
    Posts
    149

    Re: #REF error for the first row

    I do not understand what this macro to do

    I do the same with tis macro
    Please Login or Register  to view this content.
    post your workbook for more details
    Attached Files Attached Files
    Last edited by trucker10; 10-04-2009 at 07:06 PM.

  4. #4
    Registered User
    Join Date
    09-30-2009
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    44

    Re: #REF error for the first row

    Trucker10 thank you for your help. The file is too big for me to upload but here is what the macro is doing.

    It is going to column A of the cases tab and takes the first value so if I used the excel sheet you attached (tst.xls) as an example, it will take the first value which is 1 then it pastes to "Pres Gen" tab I2 then there is another macro that runs after the pasting to I2 and it produces three values at I18:K18

    This macro then copies those three values and pastes to CASES (AQ:AS). It keeps doing that for all rows starting with CASES(A2).

    I hope this helps. I used the macro recording that is why my code is too long.

  5. #5
    Forum Contributor trucker10's Avatar
    Join Date
    07-22-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2003 / 2007 / 2010 prof +
    Posts
    149

    Re: #REF error for the first row

    Quote Originally Posted by robert_mim View Post
    .

    It is going to column A of the cases tab and takes the first value so if I used the excel sheet you attached (tst.xls) as an example, it will take the first value which is 1 then it pastes to "Pres Gen" tab I2 then there is another macro that runs after the pasting to I2 and it produces three values at I18:K18 .
    I see no other macro .
    This macro then copies those three values and pastes to CASES (AQ:AS). It keeps doing that for all rows starting with CASES(A2).
    you can try the following, call your other macro , or separate the macros . Run the first macro copy and paste range A to I2 , after run ( call ) the second macro for the range I18:K18 to the sheet CASES ( AQ:As)

+ 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