Normal.dot problem

R

Rajesh

Hi,
I had a macro that works fine in word97. This is what
it does. Copy text information from 3 different word files
and create a new file and save it. The copy includes
copying pictures for header and footer. Now i try to run
the same from word 2000 but it gives an error. The macro
is attached to normal.dot. what should be done to make
this macro run in word 2000

thanking you
Rajesh
 
T

Thomas H Lindber

Rajesh,

some VB statements differ between Word97 (=Word8) and Word2k (=Word9).
Examples (first few lines) from two functions doing the same.
The functions are recorded, not my fault if thay are less than optimal :))

Private Function ClearDocNoWord9()
' Clears the Doc. No of the template from the document headers
'
GetWordVersion
If ActiveWindow.View.SplitSpecial <> wdPaneNone Then
ActiveWindow.Panes(2).Close
End If
If ActiveWindow.ActivePane.View.Type = wdNormalView Or ActiveWindow. _
ActivePane.View.Type = wdOutlineView Then
ActiveWindow.ActivePane.View.Type = wdPrintView
End If
ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader
 
S

sponge

-----Original Message-----
Hi,
I had a macro that works fine in word97. This is what
it does. Copy text information from 3 different word files
and create a new file and save it. The copy includes
copying pictures for header and footer. Now i try to run
the same from word 2000 but it gives an error. The macro
is attached to normal.dot. what should be done to make
this macro run in word 2000

thanking you
Rajesh
.
Delete the normal.dot & reload it from the CD.
I think that is all that needs done you can double check
with the knowledge base. you should find an article
there.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top