Out Of String Space" (14) error.

The code below runs until it generates an "Out Of String Space" (14) error.

You'll be doing me a favour if you report back that you get more than 8MB.

I'd also be interested to hear from you the value at which your swap file kicks in. If I'm very quiet, I can hear drive H: wake up at 4MB and start to hum after 5MB.

The Word status bar will show you the progress, and your last highest value will be in c:temp.

Regardless of the results, I know I'll have to change my ways. I can't really expect to have every character of ASCII text and VBA code rolled into a single string variable in Word97; I'm going to have to devise a disk-based library. OTOH if I'm the only one failing at 8MB and the rest of you bail out after, say, 50M, then I know that there's something weird with my system.

If this turns into a PhD thesis, let's identify some basic parameters early on, such as version of Windows, MB RAM on board, size of sawp file etc.