ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   maskedbox text to listbox (https://www.excelbanter.com/excel-programming/277157-maskedbox-text-listbox.html)

ken harrison

maskedbox text to listbox
 
I have the following components in a form:

1)Listbox
2)maskedbox(maxlength=6,input mask=##/##/##)
3)command button(to apply changes)
4)command button(to add text from maskedbox to listbox)

requirement:
enter date as 01/05/03 in maskedbox,click on add
command button will list date as 1/5/03 in listbox
click on apply will copy date to a registry keyvalue
in HKEY_CURRENT_CONFIG\System\CurrentControlSet "Date"
as in e.g-1/5/02,2/5/03,1/5/03,
when the form is run,the date will appear separately in listbox
without comma e.g:

1/5/03
2/5/03
3/5/03
10/5/03

what's the source code please?



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


All times are GMT +1. The time now is 11:18 PM.

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