Save as... something in my document...

Y

Yoast1970

Hi,

I'm quite ignorant in VBA... and I've got a problem...

I've got this Word file, which I use to generate about 80 (different
but alike) HTML-files by merging it with an Excel-file...

The result: one big Wordfile. This should be cut into pieces, each page
in a different file, saved as a .txt-file.

In each page of the 'mainfile' I've made myself a remark: save this
file as 'whatever.txt'.

I've made a macro already that cuts the content of one 'subfile' and
pastes it into a new file which I then have to save by hand. I'm sure
it should be possible to let a macro determine (from the text) what the
filename should be, and save the file with the right filename... but
how...

Anyone?

TIA,
Joost
 
P

Perry

How can an automation process determine which part of
your text should be considered as 'would-be' filename?

Is this the text of the first paragraph?
Is this the text of the last paragraph?
Is the text prefixed?
Is the text suffixed?

Kindly elaborate.

Krgrds,
Perry
 

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