View Single Post
 
Old 08-02-2017, 12:26 AM
afshin afshin is offline Windows 8 Office 2013
Novice
 
Join Date: Oct 2016
Posts: 4
afshin is on a distinguished road
Default Number Format Changing in DocVariable method

I defined some DocVariable for some date and numbers in my word file, my file is in Persian format.when i run vba macro to replace new numbers in place of defended DocVariable, number format that define in DocVariable changes to English. New number contents loaded from other Excel file by my word vba macro .
I want to all of numbers in my word file be in persian format or arabic.
problem is about changing space format in DocVariable. i define space format in DocVariable by persina mode(shown that in fa attached file )but when closing that file and opening again,that space format changes to englis format(shown that in en attached file).
Attached Images
File Type: png en.png (119.7 KB, 9 views)
File Type: png fa.png (123.4 KB, 9 views)
Attached Files
File Type: docx nohob.docx (60.7 KB, 8 views)
Reply With Quote