Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
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
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Robbie Longworth, on Tuesday, January 8, 2008 10:53 AM

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
 7-Jan-2008 17:33
User is offline View Users Profile Print this message


Robbie Longworth

Posts: 31
Joined: 23-Jun-2004

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.
Report this to a Moderator Report this to a Moderator
 8-Jan-2008 10:53
User is offline View Users Profile Print this message


Robbie Longworth

Posts: 31
Joined: 23-Jun-2004

Answer 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
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.