![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: WEXP Deletes entire table after exporting! Topic Summary: VBA-Range.Delete wipes my bookmark and data. Created On: 7-Jan-2008 17:33 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Found the problem.. It appears that, if the .dot template doesn't contain <<Object Text>> anywhere, even though this may be exported and referred to by the column title, you get strange results, e.g. it exports object 1 ~16 times into the same template and ignores the other objects. I'm posting this just in case anyone else has this problem in the future! Cheers, Rob | |
![]() |
|
Hi All,
I've created a new .dot template to export out of a module but no matter what I try I can't stop it deleting what it's exported. The template is designed to be a "One page per object" that consists of :- (a few Carriage Returns) (Section Break) (Carriage Return) (DOC_START bookmark) (a few Carriage Returns) (Section Break) (Carriage Return) OBJECT TEMPLATES (a few Carriage Returns) (Then a large table containing lots of <<Column Headings>>, together with Page Break). This is all a bookmark called "Claim". (Then a 'dummy' bookmark and some Carriage Returns, though I did try without.) The problem is it exports everything, but going back in time in the Word Undo History are these entries :- VBA-Range.Delete (Which undelete's my populated table!) VBA-Selection.Paste At this point my whole table is within the bookmark "Claim", the problem being the last command deletes it all, why is this? Any help appreciated! I've used WEXP before but never had this problem. Regards, Robert. |
|
![]() |
|
![]() |
|
Found the problem..
It appears that, if the .dot template doesn't contain <<Object Text>> anywhere, even though this may be exported and referred to by the column title, you get strange results, e.g. it exports object 1 ~16 times into the same template and ignores the other objects. I'm posting this just in case anyone else has this problem in the future! Cheers, Rob |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.