Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-02-2017, 12:26 AM
afshin afshin is offline Number Format Changing in DocVariable method Windows 8 Number Format Changing in DocVariable method Office 2013
Novice
Number Format Changing in DocVariable method
 
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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Number Format Changing in DocVariable method Changing caption number format dpashley Word 1 05-02-2017 03:53 PM
Number Format Changing in DocVariable method Help needed in changing date format Rose roon Excel 5 07-27-2015 11:57 PM
Number Format Changing in DocVariable method How to format a TOC (level 1) using a number, but have the number hidden in the text porpoiseoil Word 1 09-13-2014 12:53 PM
DocProperty vs DocVariable ChrisBrewster Word VBA 1 02-07-2014 02:09 PM
Change from General Format to number format gbaker Excel 3 08-16-2013 01:04 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:13 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft