+ Reply to Thread
Results 1 to 7 of 7

run-time error

  1. #1
    Registered User
    Join Date
    03-13-2021
    Location
    Lebanon
    MS-Off Ver
    2019
    Posts
    9

    run-time error

    Hello all,
    can someone solve the problem in my file, and tell me what is the problem ?
    the file is attached and thank you all
    Attached Files Attached Files
    Last edited by mok1995; 03-13-2021 at 12:27 PM.

  2. #2
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,713

    Re: run-time error

    Hi mok1995 & welcome to the forum,

    The error you're getting is due to there's no TextBox7, TextBox8 or TextBox9 in UserForm2
    If I was able to help, you can thank me by clicking the * Add Reputation under my user name

  3. #3
    Registered User
    Join Date
    03-13-2021
    Location
    Lebanon
    MS-Off Ver
    2019
    Posts
    9

    Re: run-time error

    Thank you nankw83, i am using vba new, what is the solution for it ?

  4. #4
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,713

    Re: run-time error

    You can re-name the TextBoxes mentioned in my post #2 or amend the VBA code in UserForm2 as per the available TextBoxes

  5. #5
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,024

    Re: run-time error

    I can see one problem. In the UserForm2 code, you make reference to TextBox7, TextBox8 and TextBox9. Those textboxes do not exist on UserForm2 but they do exit on UserForm1.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  6. #6
    Registered User
    Join Date
    03-13-2021
    Location
    Lebanon
    MS-Off Ver
    2019
    Posts
    9

    Re: run-time error

    Thank you very much nankw83, the problem is solved

  7. #7
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,713

    Re: run-time error

    You're welcome ... If that takes care of your question, please take a moment & mark this thread as [SOLVED] from the Thread Tools above your first post. Also, since you're new to the forum, you can thank those who have helped by clicking the star icon under the usernames to * Add Reputation

+ 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. [SOLVED] Error message: Run-Time error '1004 '; application-defined or object-defined error
    By Davasu in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-23-2015, 06:52 AM
  2. Replies: 1
    Last Post: 10-22-2015, 05:50 AM
  3. VBA ERROR: run time error 1004: Application-defined or Object-defined error in excel 2013
    By AnanthKrishna in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-13-2015, 06:16 AM
  4. Cannot Publish Excel Pivot Chart - Run Time Error
    By crisb184 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-11-2013, 07:04 AM
  5. [SOLVED] Error " Run-time error '1004': application defined or object defined error
    By lengwer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-11-2013, 07:26 AM
  6. run-time error ;2147023179 (800706b5) time automation error interface unknown
    By karthik72 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-02-2012, 09:31 AM
  7. Error "run-time Error '1004': General Odbc Error
    By D4WNO77 in forum Access Tables & Databases
    Replies: 2
    Last Post: 07-16-2012, 09:55 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