Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Error -2146822260 with the LabVIEW Report Generation Toolkit for Microsoft Office

Primary Software: LabVIEW Toolkits>>Report Generation Toolkit for Microsoft Office
Primary Software Version: N/A
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I am using the LabVIEW Report Generation Toolkit for Microsoft Office and I receive error -2146822260 when attempting to append text to my Word report. Why do I receive this error?

Solution:
This error occurs whenever you attempt to append text to a Word report at bookmarks that you have placed inside of Text Form Fields. The error did not occur with the Report Generation Toolkit 1.0.x, but it does occur with version 1.1.x.

To fix the problem, save the attached VI below to your hard drive. Open the VI and choose File » Save As... to save the VI into the following LLB:

labview\vi.lib\addons\_office\_wordsub.llb

If LabVIEW asks if you want to overwrite the existing VI, choose “Yes”. Then mass-compile wordsub.llb by going to Tools » Advanced » Mass Compile.

This VI will work with LabVIEW 7.0 and later, and with Report Generation Toolkit 1.1 and later.

Related Links:

Attachments:


Word_Get_Range.vi


Report Date: 08/14/2007
Last Updated: 08/14/2007
Document ID: 4CDABPPZ

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit