Results 1 to 5 of 5

LostFocus event for TextBox - how to make it work

Threaded View

kmeld LostFocus event for TextBox -... 11-30-2013, 06:01 PM
Leith Ross Re: LostFocus event for... 11-30-2013, 07:18 PM
kmeld Re: LostFocus event for... 12-01-2013, 06:18 PM
Leith Ross Re: LostFocus event for... 12-01-2013, 06:28 PM
kmeld Re: LostFocus event for... 12-02-2013, 03:51 AM
  1. #1
    Registered User
    Join Date
    11-30-2013
    Location
    Poland
    MS-Off Ver
    Excel 2013
    Posts
    54

    LostFocus event for TextBox - how to make it work

    Hi,
    I am not an expert in VBA so I am struggling to make my form work like I want.

    I would like to have a textbox on a form. In this textbox user will enter weight of item he wishes to add to database so I want to format text in this box as " #.0 kg".

    I wanted to use LostFocus event but I am unable to make it work. It seems no to occur, my code has no effect.

    I am attaching my file. Please help me to understand what is happening.

    Cris
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] How to make my code work as an event macro
    By strud in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-13-2013, 11:32 AM
  2. creating a custom class event for worksheet textbox lostfocus
    By Willardio in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-27-2013, 02:00 AM
  3. how to make a lostfocus event?
    By Willardio in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-08-2013, 12:25 PM
  4. lostfocus event: if text box height exceeds n points, call sub
    By Willardio in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-08-2013, 09:38 AM
  5. Userform textbox event that fires after I exit the textbox
    By jerseyguy1996 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-04-2010, 08:08 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