A
alfonso gonzales
Hello Everybody,
I am making a macro to convert word pararaphs into html paragraphs.
So need to convert all the Word Paragraphs into HTML paragraphs. And then
purge the Word document of the Word paraqraph marks.
I can insert an opening marker <p> but seem to have a problem with inserting
the closing makrer.
so what I do is:
For Each Par in ActiveDocument.Paragraphs
Set myrange = Par.Range
myrange insertAfter "</p>"
Next
the problem with this is that the "</p>" gets inserted after the next
paragraph mark and not within the relevant paragraph. As a result it gets a
bit tough when I want to process these paragraphs further.
Any help apperciated.
alfonso gonzales
I am making a macro to convert word pararaphs into html paragraphs.
So need to convert all the Word Paragraphs into HTML paragraphs. And then
purge the Word document of the Word paraqraph marks.
I can insert an opening marker <p> but seem to have a problem with inserting
the closing makrer.
so what I do is:
For Each Par in ActiveDocument.Paragraphs
Set myrange = Par.Range
myrange insertAfter "</p>"
Next
the problem with this is that the "</p>" gets inserted after the next
paragraph mark and not within the relevant paragraph. As a result it gets a
bit tough when I want to process these paragraphs further.
Any help apperciated.
alfonso gonzales