+ Reply to Thread
Results 1 to 2 of 2

type mismatch error-copies data from one sheet to another

  1. #1
    Marcotte A
    Guest

    type mismatch error-copies data from one sheet to another

    I have a macro that basically copies data from one sheet to another (within
    the same workbook). When I run it, the second line below give me Error 13 -
    Type mismatch. All relavant cells are formatted exactly the same, and all my
    variables are singles.

    ReportSht.Cells(CurrRow, 4) = (MasterSht.Cells(i, 8) + _
    MasterSht.Cells(i, 9)) * ReportSht.Cells(5, 3)

    ReportSht.Cells(CurrRow, 6) = (MasterSht.Cells(i, 10) + _
    MasterSht.Cells(i, 11)) * ReportSht.Cells(5, 3)

  2. #2
    Marcotte A
    Guest

    re: type mismatch error-copies data from one sheet to another

    Sorry for the double post... Please ignore this one.

    "Marcotte A" wrote:

    > I have a macro that basically copies data from one sheet to another (within
    > the same workbook). When I run it, the second line below give me Error 13 -
    > Type mismatch. All relavant cells are formatted exactly the same, and all my
    > variables are singles.
    >
    > ReportSht.Cells(CurrRow, 4) = (MasterSht.Cells(i, 8) + _
    > MasterSht.Cells(i, 9)) * ReportSht.Cells(5, 3)
    >
    > ReportSht.Cells(CurrRow, 6) = (MasterSht.Cells(i, 10) + _
    > MasterSht.Cells(i, 11)) * ReportSht.Cells(5, 3)


+ 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