murphy84
08-30-2007, 07:33 AM
Hi,
This isn't exactly a VBA question but relates to Word and ties in with a VBA project I'm working on. I'll picture the scenario.
Let's say you have a large table that spans several pages and this contains several hundred bookmarks. A couple of the bookmarks overlap each other. One of the bookmarks is used to mark a section of the document that I want to copy and reuse multiple times (I'll refer to this as bookmark A). Then there is another bookmark that has the same starting position as the first but finishes within the bookmark that is used as the multiple section placer (I'll refer to this as bookmark B).
Now, I have a routine that copies the bookmark A - x number of times. My problem is this: when copying bookmark A it appears to duplicate the top row and place bookmark B inside it.
Has anyone else come across this bug before? If so, how did you get around it so that bookmark A will only copy exactly the number of rows that it spans and no more?
I'm wondering if I've found a bug in word. If it helps I'm using Word 2003.
Thanks in advance.
This isn't exactly a VBA question but relates to Word and ties in with a VBA project I'm working on. I'll picture the scenario.
Let's say you have a large table that spans several pages and this contains several hundred bookmarks. A couple of the bookmarks overlap each other. One of the bookmarks is used to mark a section of the document that I want to copy and reuse multiple times (I'll refer to this as bookmark A). Then there is another bookmark that has the same starting position as the first but finishes within the bookmark that is used as the multiple section placer (I'll refer to this as bookmark B).
Now, I have a routine that copies the bookmark A - x number of times. My problem is this: when copying bookmark A it appears to duplicate the top row and place bookmark B inside it.
Has anyone else come across this bug before? If so, how did you get around it so that bookmark A will only copy exactly the number of rows that it spans and no more?
I'm wondering if I've found a bug in word. If it helps I'm using Word 2003.
Thanks in advance.