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
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