+ Reply to Thread
Results 1 to 3 of 3

Trigger macro when entering text in a cell, without pressing enter

  1. #1
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Trigger macro when entering text in a cell, without pressing enter

    Im building a small POS system for a friend of mine, and they are scaning items in with a barcode scanner. it has no functions other than to basicaly enter text. I am looking to trigger a calculation based on the text being entered into a cell without having to press enter, which is required to triger the Worksheet_Change event.

    Any help would be greatly appreciated, if you require some more detail as to what i am doing, please feel free to ask.
    Last edited by DGagnon; 03-06-2012 at 06:44 PM.
    If you liked my solution, please click on the Star -- to add to my reputation

    If your issue as been resolved, please clearly state so and mark the thread as [SOLVED] using the thread tools just above the first post.

  2. #2
    Forum Contributor
    Join Date
    12-28-2011
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    280

    Re: Trigger macro when entering text in a cell, without pressing enter

    You can't do that as far as I know as Excel is in edit mode during text entry into a cell and during this time macro execution is not possible. If the text entry was occurring in something else eg an ActiveX textbox then you could make use to the change event associated with this control which does execute whilst entry is in progress

  3. #3
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Trigger macro when entering text in a cell, without pressing enter

    Thats what i thought, thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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