+ Reply to Thread
Results 1 to 3 of 3

Type Mismatch

  1. #1
    Registered User
    Join Date
    08-22-2012
    Location
    Bhubaneswar
    MS-Off Ver
    Excel 2003,2007
    Posts
    95

    Smile Type Mismatch

    Hello

    After Long time i need a help from you

    I created a code to generate the Userform when the particular columns value is reach to 0, the code is working fine but there is small problem that is Type Mismatch error. When The error throws to me if i delete a multi rows and Columns data then the error report is displaying. the code details is given below

    Please Login or Register  to view this content.
    if i delete any single cell then there is no problem

    kindly help me about this problem

    Thanking You

    Patnaik

  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: Type Mismatch

    Add this to handle multiple cells being changed.
    Please Login or Register  to view this content.
    By the way, this won't be execute until the userform is closed.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    08-22-2012
    Location
    Bhubaneswar
    MS-Off Ver
    Excel 2003,2007
    Posts
    95

    Re: Type Mismatch

    @Norie

    Hi

    Thanks for your support the code works like a charm and thanks for advise for the UserForm1.TextBox1.SetFocus

    With Regards

    Patnaik

+ 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. Run Type error 13 Type Mismatch
    By Affan Khan in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 11-13-2012, 12:58 PM
  2. [SOLVED] Run-type error 13 type mismatch
    By misop in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-05-2012, 04:08 AM
  3. Type Mismatch: array or user defined type expected
    By ExcelMonkey in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-06-2006, 10:45 AM
  4. [SOLVED] Type mismatch using rnge as Range with Type 8 Input Box
    By STEVE BELL in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-03-2005, 01:10 AM
  5. [SOLVED] Help: Compile error: type mismatch: array or user defined type expected
    By lvcha.gouqizi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-31-2005, 05:05 PM

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