+ Reply to Thread
Results 1 to 2 of 2

VBA excel not working after textbox is empty

  1. #1
    Forum Contributor
    Join Date
    07-17-2011
    Location
    PH
    MS-Off Ver
    Excel 2007
    Posts
    183

    VBA excel not working after textbox is empty

    Hi,

    I have a userform with textboxes, combox box and listview.
    Once transaferring the data from textboxes to listview control it
    terminates or not working the excel when the textbox value is empty.
    if the textboxes has an input theres no problem encountered. Any idea guys why it happens. thanks.



    here is my vba excel code:
    in loading data from textbox to listview.

    initialize listview with empty records on column heading display
    Please Login or Register  to view this content.
    Last edited by Jovillanueva; 02-21-2014 at 01:30 AM. Reason: add text

  2. #2
    Forum Contributor
    Join Date
    07-17-2011
    Location
    PH
    MS-Off Ver
    Excel 2007
    Posts
    183

    Re: VBA excel not working after textbox is empty

    Here is the error/bugs screen shot.

    based on the sample screen shot. i have an empty records in requestor textbox. after ticking the posting command button to transfer the data from listview to textboxes the excel is terminated. any idea guys.

    There are spaces in some items and a couple have null values in the subitems. When these particular list items are clicked it crashes the software. Is there a way I can check if a subitem is null or empty? Thanks.



    sample1.jpg
    Last edited by Jovillanueva; 02-21-2014 at 02:47 AM.

+ 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] Checking for empty textbox and setfocus the empty textbox
    By subbby in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-23-2013, 02:49 PM
  2. Clear empty cells not working since they are not empty
    By Skogsborg in forum Excel General
    Replies: 2
    Last Post: 04-25-2013, 04:25 AM
  3. Excel 2007 : Empty Textbox Value
    By mike85 in forum Excel General
    Replies: 5
    Last Post: 11-20-2010, 05:36 PM
  4. Empty Textbox
    By Dreamwine59 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-11-2009, 03:29 AM
  5. Empty a textbox when selecting it
    By pjardino in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-28-2008, 10:32 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