Converting Word macros

  • Thread starter Patrick Nethercot
  • Start date
P

Patrick Nethercot

The demise of XP is forcing me to change - or will in the not too distant future. I run a few websites, and a large part of this is converting text derived from other sources. For this I use the old 16 bit Word 6 (runs OK under XP) for which I have written a bunch of macros that save literally hours. These are simply text files. For example here is a short one that creates para tags:

Sub MAIN
EditReplace .Find = "^p", .Replace = "</p>^p<p>", .Direction = 0, .MatchCase = 0, .WholeWord = 0, .PatternMatch = 0, .SoundsLike = 0, .ReplaceAll, .Format = 0, .Wrap = 1
End Sub

But some are many lines long and perform quite complex tasks to create htmlfrom text.

Unfortunately, later versions of Word abandoned this simplicity in favour of Visual Basic. What I need is a way of converting the Word 6 macros into VB macros for Word 2003 (which I have) and later versions. I suspect that I will have to 'upgrade' to Windows 7 or 8, neither of which will cope with16 bit software.

Googling has not helped me so far, so I am putting it out here to see if anybody knows a way of converting.
 

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