+ Reply to Thread
Results 1 to 2 of 2

Runtime Error 13 - Type Mismatch while running Macro

  1. #1
    Registered User
    Join Date
    05-31-2013
    Location
    DC
    MS-Off Ver
    Excel 2007
    Posts
    14

    Talking Runtime Error 13 - Type Mismatch while running Macro

    I am getting Run Time Error - Type Mismatch while running the attached Transpose Macro

    Can someone bail me out?

    File is attached.

    Thanks

    Ravi
    Attached Files Attached Files

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Runtime Error 13 - Type Mismatch while running Macro

    Ravi

    You can't assign an empty string to a Double variable like HoursWorked.

    Declare HoursWorked as Variant and the code should work.
    If posting code please use code tags, see here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Runtime Error Type Mismatch
    By hungryhobo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-08-2013, 08:50 PM
  2. [SOLVED] run time error 13 type mismatch when running VB macro in Excel 97
    By bkwins in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-06-2013, 04:41 AM
  3. [SOLVED] Runtime Error '13' Type Mismatch
    By Rayneill in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-08-2013, 01:03 AM
  4. Getting Type Mismatch, Runtime Error 13 With This Macro
    By HowdeeDoodee in forum Excel General
    Replies: 16
    Last Post: 11-13-2012, 07:59 AM
  5. RunTime Error 13 and Type Mismatch...
    By TheNewGuy in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-24-2010, 09:24 AM

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