![]() |
Date format textbox
I'm trying to format a textbox (in a userform) so that what ever date I write
it shows and places it in a cell as "dd-mmm-yy". I'v tried different ways with no luck. Please help!!!! -- George |
Date format textbox
You can write a OnUpdate routine using the following function
TextBox1.value = format(TextBox1.Value, "dd-mmm-yy") -- Kevin Backmann "George" wrote: I'm trying to format a textbox (in a userform) so that what ever date I write it shows and places it in a cell as "dd-mmm-yy". I'v tried different ways with no luck. Please help!!!! -- George |
Date format textbox
Thank you very much Kevin, just the job it works great
-- George "Kevin B" wrote: You can write a OnUpdate routine using the following function TextBox1.value = format(TextBox1.Value, "dd-mmm-yy") -- Kevin Backmann "George" wrote: I'm trying to format a textbox (in a userform) so that what ever date I write it shows and places it in a cell as "dd-mmm-yy". I'v tried different ways with no luck. Please help!!!! -- George |
All times are GMT +1. The time now is 01:22 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com