PC Review


Reply
Thread Tools Rate Thread

Data entry commitment without hitting Enter key

 
 
Why Tea
Guest
Posts: n/a
 
      5th Dec 2007
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
 
Reply With Quote
 
 
 
 
Bernie Deitrick
Guest
Posts: n/a
 
      5th Dec 2007
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" <(E-Mail Removed)> wrote in message
news:7481d47e-7f60-4e22-996b-(E-Mail Removed)...
> 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



 
Reply With Quote
 
Why Tea
Guest
Posts: n/a
 
      5th Dec 2007
> 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Go Immediately To A Particular Cell After Inputting Data In AnotherCell And Hitting Enter robzrob Microsoft Excel Programming 6 21st Feb 2010 11:17 AM
entering data and hitting "enter" data disappears and Simon Lang Microsoft Access 2 29th Sep 2009 09:18 PM
hitting enter or shift+enter in asp.net designer messes up html code? Sunfire Microsoft ASP .NET 2 6th Nov 2007 02:44 PM
Inputing data without hitting a button or enter id10t error Microsoft VB .NET 6 22nd Oct 2007 04:58 PM
Hitting Enter to Move Cursor to the Next Entry Cell =?Utf-8?B?Q2lzbmVyYXg=?= Microsoft Excel Worksheet Functions 3 25th Feb 2006 11:04 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:22 AM.