I am trying to apply Persian date format in text boxes inside some worksheet. The Text boxes now stores the date in format "dd/mm/yyyy hh:mm" And that's a thing that i applied by myself. But i'm struggling with applying Persian date in these text boxes. I recorded some macro when i'm changing date format of cell to Persian, and i was trying to use it on text box but this code does not seem to work properly.
This is code that i'm using now and it is working properly
TextBox1 = Format(TextBox1, "dd/mm/yyyy hh:mm")
and those lines I was trying to use to apply Persian date but I don't get any effect
TextBox3 = Format(TextBox3, "[$-fa-IR,16]dd/mm/yyyy;@")
And this is the effect of recording macro and changing date format to Persian manually. From this line i got a formula and try to implement it above.
Range("J30").Select
Selection.numberFormat = "[$-fa-IR,16]dd/mm/yyyy;@"
Does any of you could provide me with some reasonable solution to this?
Thank you in advance for your Help.
