Link to home
Start Free TrialLog in
Avatar of Pooja Solanki
Pooja Solanki

asked on

i am mailing a MS word 2003 document while opening in 2010 ,the margins o page are getting changed.

i have emailed a html document as MS word document in attachment in c# code. So while opening the attahment in my local machine it is opening in MS word 2010(installed in my local). earlier we used to open it in MS word 2003 .So in 2010 ,the margins of the page are getting changed . how can i fx the margins of the page as Microsoft office 2003 default margins (1.25 inches right and left)? so that everytime the attachment is opened in any version of Microsoft word ,the margins remain same.
Also ,if i open the same document in 2003 ,the margins are correct(right and left 1.25") while opening in 2010 the margins are getting changed to 2010 default margins(right and left 1")   .I want it to be 1.25" in 2010 also.

if i open in 2003 and save it then if i open the saved doc in 2010 then the margin is coming as default 2003 margin. Soi want to do this by code.
Avatar of GrahamSkan
GrahamSkan
Flag of United Kingdom of Great Britain and Northern Ireland image

I have tried to reproduce your problem by creating a document with Word 2003 under XP and saving  it as .HTM. The margins were 3.17 cm (1¼ ins). It was then opened in Word 2007 under Win 10. The setting for the margins was still 3.17cms, though the default is 2.54cms  (from the Normal template). I haven't been able to try it as an attachment, but  the mailing process shouldn't change the attached file, especially in such a specific way.

Do you have a non-confidential example that we could try?
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.