ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Moving through a data entry form (https://www.excelbanter.com/excel-programming/290800-moving-through-data-entry-form.html)

jjankowski

Moving through a data entry form
 
I am trying to create a form that will take the user to the next fiel
after entering data. I have tried to record a macro using "Got
Reference", but it doesn't stop and wait for user input. I need bot
the event procedure and the correct format for incorporating it int
the macro. thank you

--
Message posted from http://www.ExcelForum.com


Tom Ogilvy

Moving through a data entry form
 
There is no provision in Excel VBA to stop and wait while the user enters
something in a cell.

You will need to prompt with an input box or userform to get the input, then
place it in the cell with your code.

An Alternative is to halt the macro and try to trap the activity of the user
to determine when to continue.
--
Regards,
Tom Ogilvy


jjankowski wrote in message
...
I am trying to create a form that will take the user to the next field
after entering data. I have tried to record a macro using "Goto
Reference", but it doesn't stop and wait for user input. I need both
the event procedure and the correct format for incorporating it into
the macro. thank you!


---
Message posted from http://www.ExcelForum.com/





All times are GMT +1. The time now is 03:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com