Need help with Word macro

  • Thread starter Thread starter Claud Balls
  • Start date Start date
C

Claud Balls

I'm very confused right about now. We are converting documentation from
one template to another. We have close to 1,000 documents to be
converted. So I think to myself, hay you're pretty good at excel
macros, this should be a piece of cake. WRONG!!! I'm confused, I know
nothing about this. I've tried inserting the old file into the new
template, that was a mess. I then thought I could reformat the current
template, there is already a bunch of code in there that I would like
to axe. It took me about a half hour to figure out how to disable
headers/footers, and format the text back to 12 point black color font.
Any resources would be helpfull, as I'm ready to start cutting and
pasting from one to the other for the next couple months.
 
Do you have a link? I looked for programming based Word forum, but came
up short. Basically, I need to cut text out of one file and paste it
into another.
 
I'm having problems logging into that news group. Could somebody help me
with the following:

Documents(strSourceFile).SaveAs FileName:=strSourceFile & ".txt",
FileFormat:=wdFormatText


'strSourceFile is a word document that is not open
'My code returns a "bad document name" error
 

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

Back
Top