+ Reply to Thread
Results 1 to 6 of 6

Forms issue, get debug on save

  1. #1
    Registered User
    Join Date
    01-29-2012
    Location
    Netherland
    MS-Off Ver
    2010
    Posts
    9

    Forms issue, get debug on save

    Hello,

    i have two TAB's and two simple forms with one data entry field.

    i use below codes to save the dataentry but on one from i get a debug message.

    i don't know what is wrong here, does anyone has a solution.


    this is on the first worksheet / form and works fine

    Please Login or Register  to view this content.
    this is on the second worksheet/ form and comes up with the debug on save, on the red line

    Please Login or Register  to view this content.

    any help is welcome.
    Last edited by Nissort; 10-14-2018 at 05:49 AM. Reason: [Solved]

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Forms issue, get debug on save

    Is there definitely a sheet called "QC Out" (with no leading/trailing spaces)?
    And is there definitely a control called "TextBoxQC_Out"?

    Which exact message do you get?

    Any chance you could attach the file?

    BSB

  3. #3
    Registered User
    Join Date
    01-29-2012
    Location
    Netherland
    MS-Off Ver
    2010
    Posts
    9

    Re: Forms issue, get debug on save

    i can't attache a file here,
    if i click on attachment nothing shows, yes i uploaded the file to the site.
    this is strange.
    Attached Files Attached Files

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Forms issue, get debug on save

    It's because you only have a header on the QC Out sheet.
    The line of code below starts at A1 and works as if you press Ctrl+Down in that it goes to the last row. Then you're trying to add 1 to it which Excel cannot handle.
    Please Login or Register  to view this content.
    Try changing it to:
    Please Login or Register  to view this content.
    Does that work?

    BSB

  5. #5
    Registered User
    Join Date
    01-29-2012
    Location
    Netherland
    MS-Off Ver
    2010
    Posts
    9

    Re: Forms issue, get debug on save

    Hello BSB

    thank you for your help,

    yes it works now.

    GREAT many thanks to you!!!

  6. #6
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Forms issue, get debug on save

    Happy to help

    BSB

+ 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. .Insert debug issue
    By crackerjack- in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-23-2017, 09:56 PM
  2. [SOLVED] Debug Issue Involving A Form
    By Logit in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-09-2016, 12:13 AM
  3. [SOLVED] Debug issue Run-time error '91'
    By sammar12 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-09-2016, 09:51 AM
  4. Need help with debug issue with macro
    By Lylestyle89 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-10-2015, 01:36 PM
  5. debug issue
    By savithrianandh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-13-2007, 09:51 AM
  6. VBA issue, debug
    By ophelia in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-18-2006, 05:45 AM
  7. [SOLVED] when i save xls file, debug script is running and canno't save fil
    By Imtiaz in forum Excel General
    Replies: 1
    Last Post: 07-16-2005, 11:05 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