Thanks for the reply. When I used vbcr, I got that blasted empty box. I then
used the old-fashioned Chr(13) which worked quite handily for me.
For emptying the doc variable, when I pass the empty string "", Word leaves
the "Error" warning in the doc variable, which also prints. When I pass a
space " ", it looks "empty", of course. I subsequently noticed that I had
forgotten to execute the ActiveDocument.Fields.Update method, which was
causing me most of my headaches.
Thanks, again, and have a great holiday!
George
> Returns within a variable --
>
[quoted text clipped - 16 lines]
> >
> > Thanks and have a great holiday!
Jezebel - 23 Dec 2004 10:49 GMT
> Thanks for the reply. When I used vbcr, I got that blasted empty box. I then
> used the old-fashioned Chr(13) which worked quite handily for me.
[quoted text clipped - 29 lines]
> > >
> > > Thanks and have a great holiday!
Jezebel - 23 Dec 2004 10:49 GMT
> Thanks for the reply. When I used vbcr, I got that blasted empty box. I then
> used the old-fashioned Chr(13) which worked quite handily for me.
[quoted text clipped - 29 lines]
> > >
> > > Thanks and have a great holiday!
Jezebel - 23 Dec 2004 10:51 GMT
Very strange indeed, especially as vbcr *is* chr(13). You can test that with
the ASC() function. As for the empty string, I checked it -- perhaps it's
something that's changed between Word versions.
> Thanks for the reply. When I used vbcr, I got that blasted empty box. I then
> used the old-fashioned Chr(13) which worked quite handily for me.
[quoted text clipped - 29 lines]
> > >
> > > Thanks and have a great holiday!