![]() |
Textbox's and Dates the usual conflict
I am sure this is an easy one for a master of vba out
their ? I am inputting dates in textboxs (within a userform) in the following format dd\mm\yyyy (UK Standard format). However when I call it back from the spreadsheet to my userform it returns mm\dd\yyyy (USA format). When I check the spreadsheet it is UK format are textboxes automatically use USA format and if so can I force my textbox to except my UK format. Many thanks in anticipation Marcus |
Textbox's and Dates the usual conflict
ActiveCell.Value = cDate(Textbox1.Text)
Textbox1.Text = ActiveCell.Text should respect the UK format. -- Regards, Tom Ogilvy "Marcus Walker" wrote in message ... I am sure this is an easy one for a master of vba out their ? I am inputting dates in textboxs (within a userform) in the following format dd\mm\yyyy (UK Standard format). However when I call it back from the spreadsheet to my userform it returns mm\dd\yyyy (USA format). When I check the spreadsheet it is UK format are textboxes automatically use USA format and if so can I force my textbox to except my UK format. Many thanks in anticipation Marcus |
All times are GMT +1. The time now is 12:22 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com