A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi Ozzie
thank you for the explanation - I think it is close now!
I think we may have crossed over on replies as I followed up to my first one as below
Ok forget that last message - even though the script was wrong i still couldnt get it to work!!!!
So Ive had a chance now to review your file and it works fine on my pc - all formats correct
I just need to fiddle around with things to get it you work on my user form -
If I add most of the script into my CMDSAVE macro will that work? if I add those lines before yje existing message box lines and call commands - will it work there? obviously the save function in my VBA Calls the "submit" script which transfer the entries to the worksheet so Ill have to work out how to do that with out using the "With Worksheets etc part of your script -
The elapsed time calculation needs to sit hidden in the background and not visible to the user on the user form as that is not part of the job role - so Im thinking of still adding the relevant "tmetimedifference" box exactly as you suggest But just hide the box on the user sheet then add an appropriate line in the "submit" script e.g
.Cells (Irow,xx) = etc
as well as clearing on the "reset" script
Any advice or tips on how to do that ?
Thank you so much again
Anyway I think if its possible to do the above stuff regarding adding the various parts from your example into my save script - do you think it will work? nly one way to find out
Regarding the regional formats - theres nothing on my PC which is arabic other than the unicode setting but the problem was there before I did that change anyway
However i did find out that using even regional settings that that CDate always tries to put it into US styles AND this can be tested where and this is my issue actually where the day is 12 or less - if the day is more than 12 then excel cant argue !!! as there is no 13th month - no body has a solution to this as I understand but I think we are there with how to explain and demonstrate the solution
Thanks Adrian
Adrian