+ Reply to Thread
Results 1 to 10 of 10

Type Mismatch Error - How to Fix

  1. #1
    Registered User
    Join Date
    12-17-2011
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    81

    Exclamation Type Mismatch Error - How to Fix

    Hello Experts

    I have a workbook & containing two worksheets sheet1 & sheet1, i am trying to copy data between two dates through userform1. textbox1 & textbox2

    but i am getting error " type Mismatch " Please let me know how to fix this error

    Part code which is highlighting Type mismatch & wanna to fix
    Please Login or Register  to view this content.
    Full Code
    Please Login or Register  to view this content.
    The sample sheet is attached for your ready reference.

    Help in this line will be highly appreciated

    Thanks in advance

    Vaibhav2312
    Attached Files Attached Files

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Type Mismatch Error - How to Fix

    Here you go !

    Please also see the "Please consider" note at the bottom of this Post.
    Attached Files Attached Files
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Type Mismatch Error - How to Fix

    Hello vaibhav2312,

    Oops,I forgot to re-instate the Error Handler, so please would you just clear the apostrophy at the beginning of the line in red below.

    Please Login or Register  to view this content.
    Sorry about that

  4. #4
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Type Mismatch Error - How to Fix

    or
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    12-17-2011
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    81

    Re: Type Mismatch Error - How to Fix

    Hello Winon & nilem Sirs

    Awesome, superb,

    The Both codes are working perfectly, As i wanted

    Thank you very much for your immediately response


    Vaibhav2312

  6. #6
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Type Mismatch Error - How to Fix

    Hello vaibhav2312,

    You are welcome. Glad your issue is solved.

  7. #7
    Registered User
    Join Date
    12-17-2011
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    81

    Re: Type Mismatch Error - How to Fix

    Hello nilem & Winon Sirs

    Thank you very much for your help

    but i am facing new problem, if i am using nilem's code & date contains on column on E the data not copying
    please look in to & help me out.

    The Same workbook is attached for your ready reference.

    Code of Nilem
    Please Login or Register  to view this content.
    Thank in advance
    Vaibhav2312
    Attached Files Attached Files

  8. #8
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Type Mismatch Error - How to Fix

    just change this line (column "E" - is the 5th column)
    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    12-17-2011
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    81

    Re: Type Mismatch Error - How to Fix

    Thank you very much sir

    Working perfectly as i wanted


    Thanks many many times
    Vaibhav2312

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

    Re: Type Mismatch Error - How to Fix

    @ vaibhav2312

    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.

  11. #11
    Registered User
    Join Date
    12-17-2011
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    81

    Re: Type Mismatch Error - How to Fix

    Thank very much sir.

    It will never happen again.

    Thank you

+ 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