Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Data entry commitment without hitting Enter key

When the user enters data into a cell and click on a macro button, is
there a way to program a macro so that the data is committed (as if
the user has hit <Enter) when it is run?

/Why Tea
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default Data entry commitment without hitting Enter key

YT,

You cannot start a macro when in edit mode:

"When the user enters data into a cell and click on a macro button"

You could use a macro that shows a userform with a textbox, and use that to enter the values into a
cell.


HTH,
Bernie
MS Excel MVP


"Why Tea" wrote in message
...
When the user enters data into a cell and click on a macro button, is
there a way to program a macro so that the data is committed (as if
the user has hit <Enter) when it is run?

/Why Tea



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Data entry commitment without hitting Enter key

You cannot start a macro when in edit mode:

"When the user enters data into a cell and click on a macro button"

You could use a macro that shows a userform with a textbox, and use that to enter the values into a
cell.


Bernie, thanks for the answer. I just find it a little annoying when
you filling in a "form" and then click on a macro button to email it
away, you always have to hit <Enter in the last field you enter
before the macro can be run. Now I understood why.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
value changes after hitting Tab or Enter button Jose Esteves Excel Discussion (Misc queries) 2 January 27th 10 08:59 PM
numbers appear different after hitting enter cb New Users to Excel 3 March 27th 08 10:46 PM
Hitting Enter to Move Cursor to the Next Entry Cell Cisnerax Excel Worksheet Functions 3 February 25th 06 11:04 AM
What does hitting Ctrl + Shift + Enter to enter a formula do??? Help a n00b out. qwopzxnm Excel Worksheet Functions 2 October 20th 05 09:06 PM
Insert new row after hitting enter Jeff[_23_] Excel Programming 2 October 15th 03 10:14 PM


All times are GMT +1. The time now is 01:06 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"