View Single Post
 
Old 08-12-2012, 06:25 PM
ubns ubns is offline Windows 7 32bit Office 2010 32bit
Competent Performer
 
Join Date: Apr 2012
Posts: 177
ubns is on a distinguished road
Default

Hi Paul,

I have normally produce a document from some application based on .aspnet or .dotnet (not sure though). it produces the word document - and is saved on local computer. so it is not based on normal.dotm on my computer and does not carry the custom heading style i have created in my normal.dotm document.

I have to manually go to document template and then use the organiser to copy my custom heading stlyes to the particular document (which have been obtained by using the above process) and then use find and replace function.

This document (downloaded one) has lot of heading styles -and I wanted to autmate this process by macro.

so:

1) When document opens (it should autmoatically process the macro to copy the custm heading styles from macro).

2) Then run find and replace function to replace the heading styles.

I understand that I can do this manually, however there are other users who are not that familiar with all these functions, so i was thinking if I can get the macro for that to make it easy for them.

I am sorry if my requirements and the specifications were not clear the first time.

Does the above mentioned code (given by you) will work on that?

Regards

Umesh Banga
Reply With Quote