ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Capturing data from a form (https://www.excelbanter.com/excel-programming/401624-capturing-data-form.html)

Brent

Capturing data from a form
 
Please help.

Once the fields within a form have been populated, how do I capture the
information for subsequent processing? Related to the form, is there a
programmable function to "Clear" all unprotected cells?
--
Brent

JLGWhiz

Capturing data from a form
 
If a list box:

Range("A1") = ListBox1.Value puts the selected ListBox item in
Range A1 of the ActiveSheet. Put the code in the click event of the
control. See ListBox in VBA help. Also see Click Event in VBA help.
There is more there about Selected for multicolumn lists, etc.

"Brent" wrote:

Please help.

Once the fields within a form have been populated, how do I capture the
information for subsequent processing? Related to the form, is there a
programmable function to "Clear" all unprotected cells?
--
Brent



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

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