MS Word Reports-how to use bookmarks

I am using the labview report writing tools to produce an MS Word report. I have produced several headings, information strings, tables etc. I need to use "Word Insert Object.vi" to place certain objects such as excel charts at certain places in the word report. This VI uses bookmarks in word to point at the right locations (the VI also seems incredibly limited in that it provides only a file reference as a source to obtain the object from - but no way of referring to which object in the file?? Does this mean I have to go to all the trouble to separate out my source objects to each reside in their own exclusive word doc? The documentation for "Word Insert Object" suggests you can extract objects from excel, but doesnt say how to identify the objects. Can anyone enlighten me?
The only way I can see to set up the bookmarks in the word doc to send my objects to is to setup a template doc with the bookmarks and pagebreaks in place as a starting point before I use the labview report generation vis to place everything else. The objects insert quite happily at the required bookmarks (since the vi has an input which specifies the bookmark to use), but now everything else that used to form my title page, tables, text etc are pushed to the end of the template document (i.e. after all of the bookmarks and pagebreaks structured into my template). None of the other report generation vis (insert tables, text etc) seem to have any ability to point at bookmark locations.
I can only hope for 2 possibilities here:
1) that there is a way to make the non-bookmark capable vis jump to a certain location in the document (by forcing the cursor there somehow)
2) that there is a way to programatically place bookmarks in the document as I write the various parts of it from labview, to which I can then insert objects at the end of the process.
Can anyone enlighten me about the approach to use here?
thanks
Fred

Hi Fred,
Well to answer both of the numerated questions, I can think of two ways that would most likely fix your problem.
1)  Find the activeX call that can place bookmarks or move the cursor in your word document.
2)  Make a macro that can do the same thing.
Has anyone in the community ever attempted this?
Brian K.

Similar Messages

  • How to use bookmarks in Pages

    I am working with a very large document in Pages and would like to create bookmarks with headings and text that go under those headings. I am not getting the links to work when I try inserting a bookmark. Can someone explain how to link from one part of the page to another?
    Thank you.

    You select the text you want to bookmark:
    Menu > Insert > Bookmark
    The text has to be in the default text area, between the margins, of a Word Processing template.
    If it is not working, you have selected placeholder text or text that is already a link or text inside an object.
    Once you have created a bookmark you can then link back to it using a Hyperlink in the Links Inspector.
    Peter

  • Creating a word report , how to do this ?

    Hi all ,
    My first post . I have been working with PL/SQL for the last 3 months. I have a question in APEX. My application allows users to enter data .So once the data entry is done , I have to create a word document by clicking 'create ' button ' . How can I send the data to the word document ( I already have the format for the word document and have been able to generate a dummy word document when I click 'create' ) . The only thing left is to replace the dummy data which I have inserted in word document by the data from the user entries
    Thank you every one ..

    Both are blogs, and the first one is probably easier to understand and describes the process extremely well - best you ask for an exception in this case so you can do your job.
    It uses a library that is also hosted here
    http://code.google.com/p/plsql-utils/
    It's a complex problem, so unfortunately it can't be described too simply - well, any more simply than Morten does in his blog.

  • [WebIntelligence Reporting] How to use count function with condition !?

    Post Author: xuanthuyit
    CA Forum: WebIntelligence Reporting
    Hi everyone,
    I want to make a report like this  with WebIntelligence reporting.
    I want to show the number of Outlet of each chanel (Horeca, Grocery, Convenience) at the end of report !
    But I don't know how to do that with WebIntelligence Reporting.
    Please help asap. . .
    Thank you verry much,

    Post Author: jsanzone
    CA Forum: WebIntelligence Reporting
    xuanthuyit:
    Apparently =count() [and use of a where] was permissible in previous versions of BusObjects, however, things in XI are different (as other users tell me, being XI is my first experience w/ BusObj...), so anyhow, here is the solution to your question.
    You will have have to create two variables for each condition you have.  One variable will be the "helper" and the other variable will be the "worker".  For instance, create a variable called channel_x and the formula:  =if(channel="haney";<metric>;0)  (where "haney" is the name of your organization and <metric> is the metric you are using to count or sum things in your report).  Once channel_x is saved create another variable called channel_x_count and the formula:  =sum(&#91;channel_x&#93;).  Once channel_x_count is saved, then on your report towards the bottom you can use the Template bar to drag in a new table (perhaps you want to use the Horizontal Table type), and then you can drag channel_x_count into your new table.  You will have to repeat the creations of more channel_x type variables (maybe call it channel_y and channel_y_count) or something more descriptive, but in any case substitute the "haney" constant for the next store you want to track, etc, etc.

  • How to use Bookmark

    In one of my ongoing project i want use word ducument as my OLE
    server and I want pass some values into my ole server and after
    neccessary changes I want pass pass the values from my ole
    server to my forms ?
    any suggetion or comment.
    Regards
    rahamath

    You are at a web site / page, and you want to save it for latter. There are
    several options.
    * In the address box, press the '''Star'''. This will place a bookmark in a
    bookmark folder called '''Unsorted Bookmarks.''' You can always
    move it later.
    * On an empty area of the web page, right click and select
    '''Bookmark This Page.''' A window will open up showing the page
    address, the name of the page, and a list of folders in the bookmarks
    folder where you can place the new bookmark. If you want to see the
    whole list of bookmark folders, On the second line (folders) press the
    down pointing arrow at the far right.

  • How to use bookmarks?

    Hi I hav ebookmarked a couple of threads but I cannot see any why to see my list of bookmarks? Where should I be looking?
    Is there anyway to see a list of threads I have posted on? i.e. my own posts?
    Thanks R...

    Try here http://community.bt.com/t5/user/viewprofilepage/user-id/60435
    If you have set up e-mail notifications, then there will be a link in the e-mail which will take you to your thread.
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • How to save bookmarks on your computer

    How to save bookmarks on your computer and import them later

    Take a look at the articles below.
    [[How to use bookmarks to save and organize your favorite websites]]
    [[Use bookmark folders to organize your bookmarks]]
    [[Export Firefox bookmarks to an HTML file to back up or transfer bookmarks]]
    [[Import Bookmarks from a HTML file]]
    I hope that helps.

  • How to use active X controls to read/write protect an excel or word document created by created by Save Report to File VI

    Hi all,
    I'm trying to creat a word and excel documents using Save Report to File VI. When wiring a password to this last VI, the document created are only protected against writing but not reading. How can I use active X controls to password protect these documents against reading?
    Thanks a bunch!
    O

    There is no predefined functionality available in LabVIEW. So you have to implement this on your own.
    It seems to me that you own the Office Report Generation Toolkit. You can use the Excel Get ActiveX References.vi from the Excel Specific >> Advanced palette to get access to the "generic" ActiveX Excel references. Starting from this point, you can use property and invoke nodes to get to the setting you are going to modify.
    Please refer to this link for information on Excel password protection. I have not searched for the object giving you access to those settings though....
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Help!!! Can Anybody tell me how to read bookmarks of MS word using ABAP?

    It took me around 3 days , but there is still no solutions...
    Can Anybody tell me how to read bookmarks of MS word using ABAP ?
    Many thanks.

    Dear Nick  ,
    Thanks for your attention!
    I have MS word installed in the R3 server , and I uploaded my word doc with some self-defined bookmarks into SAP R3 system.
    Now I want to read these bookmarks using ABAP in this R3 system...
    Is it clear enough?
    Looking forward to your solution ...
    Thanks again..
    Best Regards,
    Leon.

  • How to edit text in MS Word HEADER using bookmarks?

    I've been using the ActiveX calls to edit text in Word docs for a while. I assumed there was no trick to doing it in the header of a Word doc, but there seems to be no way to get into the header via LabView ActiveX calls.
    Regretably, Word also makes this tricky. I found these VBA hints:
    Bookmark, Go to Bookmark:
    (This method does not work with bookmarks in Headers/Footers)
    Selection.GoTo What:=wdGoToBookmark, Name:="Name"
    Bookmark, Select a Bookmark:
    (This method works when using bookmarks in Headers/Footers)
    ActiveDocument.Bookmarks("BookmarkName").Select
    Bookmark, Insert Text Using Range (Change Content of Range):
    (This method works when using bookmarks in Headers/Footers)
    ActiveDocument.Bookmarks("BookmarkName").Range.Text="Text"
    Bookmark, Insert Text Using Range (Add After Range):
    (This method works when using bookmarks in Headers/Footers)
    ActiveDocument.Bookmarks("BookmarkName").Range.InsertAfter _
       "Text"
    I have been using the first one and I was hoping one of the last three would be simple to implement, but there does not seem to be a way to do any of them via LabView.
     I do not have the reports tool kit, but I have seen nothing to indicate that it is possble with that either.
    So, is it possible to edit the headed of a MS Word doc?

    I'm also not happy about word and LabVIEW and I hope that there will be much more improvement with the open document format... right know I have to use a word document template .
    However, here is a code I use to fill bookmarks even in the header. I found that somehow the bookmark vanish after manipulation and you have to add it again.
    Hope that it help ....
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'
    Attachments:
    MSWord_write_recreate_Bookmark.vi ‏20 KB

  • How to get the current cursor position in word report?

    I am generating a word report. But I would like to keep the table in one page. However, I did not find the way to do it in labview. Somebody would give me some suggestions? I appreciate a lot.
    One way I think I can do is to find the current cursor position. Since I know the table size so I can figure out if the left space in the current page is enough to hold the table. But I do not know how to locate the curent cursor position in word document in labview programmatically. I appreciate any suggestions on this question.
    Thanks.

    Hi,
    when you insert data in a word document you have to refer to bookmarks rather than cursor position.
    If you are using the Report Generation Toolkit for Office it is explained in the manual chapter 3-1.
    See also the example: Generate Report From Template (Word).vi included in the toolkit.
    If you aren't using the toolkit, you still have to refer to bookmark as reference points to insert and/or fetch data.
    The principle is:
    - First create a document in which you insert bookmarks where you wish and save it as a template
    - In LV open your template document and insert in it your data referring to bookmarks as insertion points
    - At the end save your report with another name, so you still have the template
    I hope I have been clear enough, if not just as
    k!
    Good luck,
    Alberto

  • Generate report using Word Report Generation VIs error

    When I Generate report using Word Report Generation VIs  ,the error is generated.
    This is  my Vi
    can somebody  tell the error reason?
    The attaché is Vi (one is 2011,other is 8.6)
    Attachments:
    report-8.6.vi ‏16 KB
    report2.vi ‏33 KB
    template.doc ‏40 KB

    Hi Ben64
                 Thank you! The problem is solved.
       BUT when I use the Word Easy Graph vi  ,the result is
    I want the Graph (curve),like as:
    How Can I do get the picture.
    I have other problem. I want to get default name for the new word file.
    liang

  • How To Use a css File To Watermark A Report

    Hello.
    I am using Apex 4.0.1 and have a need to place a watermark (that is, a background image) over a report, both a "classic" type and Interactive Report.
    I have two questions about this.
    1) I've searched this Forum and found several good questions/responses about this subject. What I think is the most maintainable solution is to create a .css file and reference this file within the Template section of a copy of, say, the "Reports Region" template used by my application theme. And so, I made a copy of the "Reports Region" template and called it "Watermark Reports Region". I then created a very simple .css file called "bgimg.css" defined as:
    #REGION_STATIC_ID# {
    background-image: url(#WORKSPACE_IMAGES#menu_bug.png) !important;
    background-repeat: repeat !important;
    background-attachment: fixed !important;
    Note: For those that may not know, the "!important" clause is, in fact, a css defined clause used to tell the browser that it should give the associated option the highest precedence. This prevents my desired css option from being overridden by another css file. Frankly, I myself did not know this until after I saw it being used in several of the responses on this Forum and then read up about it.
    I uploaded this css file via the Apex "Shared Components -> Cascading Style Sheets" option. I also made sure that menu_bug.png is, in fact, among my workspace images.
    I also made sure that my "Watermark Reports Region" template contains the substitution variable "REGION_STATIC_ID" and that my actual report region has a value in the Region Static Id field.
    Within my "Watermark Reports Region" template, I tried to reference my .css file. This is where I think my problem is.
    I placed
    <link rel="stylesheet" type="text/css" href="#WORKSPACE_IMAGES#bgimg.css" />
    at the very top of the Template section in my "Watermark Reports Region" template.
    I then assigned my template to my Apex report. When I run my report, I see nothing.
    So, how does one reference this css file within the template?
    =================================================
    2) I tried using my css tags as an internal style by placing it within the "HTML Header" section of my application page. I used:
    <style type="text/css">
    #empreport {
    background-image: url(#WORKSPACE_IMAGES#menu_bug.png) !important;
    background-repeat: repeat !important;
    background-attachment: fixed !important;
    </style>
    I assigned a div tag to my report region header and footer that looks like:
    In Header: <div id="empreport">
    In Footer: </div>
    When I run the report, I do get the image. But it is surrounding the report. It looks like my report is "floating" in a sea of bug images.
    So, how can I get these images to actually appear within the report itself. In other words, I want the report itself to be "transparent" so as to allow these images to be seen within the report body itself.
    Thank you all for any help/advice/code example.
    Elie

    Elie
    Thanks for taking the time to post sufficient information to understand the problem. In future if you're going to such efforts you might want to use them to reproduce the problem on apex.oracle.com, which means you can share actual working (or more likely not working!) code. Please also always wrap code posted on the forum in tags<tt>\...\</tt> tags to preserve formatting and special characters.
    >
    I placed
    <link rel="stylesheet" type="text/css" href="#WORKSPACE_IMAGES#bgimg.css" />
    at the very top of the Template section in my "Watermark Reports Region" template.
    >
    According to the relevant HTML 4.01 and XHTML 1.x standards, <tt>style</tt> and <tt>link rel="stylesheet"</tt> elements should only appear within the <tt>head</tt> element of a document.
    This changes in HTML5. The new <tt>scoped</tt> attribute allows <tt>style</tt> to be used in a prescribed way elsewhere in the document, with the effect that the styling rules specified are only to be applied to the other descendant elements of that <tt>style</tt> element's parent (in the way you're trying to do here). I'd expect <tt>link</tt> with a <tt>rel="stylesheet"</tt> to remain restricted to <tt>head</tt> content in HTML5: off the top of my head I can't see a use case for referencing external stylesheets in a non-metadata context.
    That said, current browsers apply CSS regardless of where in the document it appears, and future HTML5-compliant ones will continue to continue to do so for backwards compatibility. For myself, when using XHTML 1.0 I'll continue to follow the only put <tt>style</tt> and <tt>link</tt> elements in the page <tt>head</tt>. When I get round to using HTML5 for real I'll follow the standards for that as well.
    I strongly recommend that you follow the standards and only put <tt>link rel="stylesheet"</tt> elements in the page <tt>head</tt>.
    >
    Note: For those that may not know, the "!important" clause is, in fact, a css defined clause used to tell the browser that it should give the associated option the highest precedence. This prevents my desired css option from being overridden by another css file. Frankly, I myself did not know this until after I saw it being used in several of the responses on this Forum and then read up about it.
    >
    Use <tt>!important</tt> only where it's actually needed. It's over-represented in this forum because Oracle changed the order of style sheet inclusion in APEX 4.0 and made it more difficult to override theme styles using CSS in the page HTML Header without modifying page templates.
    Try your styles initially without using <tt>!important</tt>, and also consider using the cascade to provide any necessary overrides by including your CSS after other style sheets.
    >
    I then created a very simple .css file called "bgimg.css" defined as:
    #REGION_STATIC_ID# {
    background-image: url(#WORKSPACE_IMAGES#menu_bug.png) !important;
    background-repeat: repeat !important;
    background-attachment: fixed !important;
    I then assigned my template to my Apex report. When I run my report, I see nothing.
    >
    Because <tt>#WORKSPACE_IMAGES#</tt> is not substituted in external CSS files: +{thread:id=986329}+
    If possible it's much better to locate image, CSS and JavaScript files externally on the file system. Otherwise you'll have to use the workaround suggested in that thread and include a <tt>style</tt> element in the page templates to specify the background image.
    When I run the report, I do get the image. But it is surrounding the report. It looks like my report is "floating" in a sea of bug images.Reports are descendants of their region containers and may be subject to additional built-in or theme styles that overrides that specified for the region. Your CSS selector has to specify the report element, not the entire region.
    So, how can I get these images to actually appear within the report itself. In other words, I want the report itself to be "transparent" so as to allow these images to be seen within the report body itself.I'd use a <tt>class</tt> attribute in the region template: this removes the need to use the <tt>#REGION_STATIC_ID#</tt> selector, and allows the CSS to go in the page <tt>head</tt> where it belongs. Add <tt>watermark-report-region</tt> in addition to any existing <tt>class</tt> values in the region template:
    <div class="borderless-region watermark-report-region" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>
      <div class="bl-body">#BODY#</div>
    </div>You may have to inspect the page source (use a web inspector like that found in Safari, or the Firefox+Firebug combo) to figure out what has to be overridden in the theme/templates you're using. This worked for an Interactive Report using theme 17:
    .watermark-report-region .apexir_WORKSHEET_DATA {
      background: #fff url(/i/menu/blank_app_32.gif);
    .watermark-report-region .apexir_WORKSHEET_DATA tr.even td,
    .watermark-report-region .apexir_WORKSHEET_DATA tr.odd td {
      background-color: transparent;
    }For a standard report you'll need to identify the selector required for the actual report element (equivalent to the <tt>apexir_WORKSHEET_DATA</tt> table) using the web inspector or from the report template. It would be a good idea to create standard report template(s) incorporating a <tt>watermark-report</tt> class on the report table to provide a simple selector for such reports.

  • How to use Pl/Sql function in Discoverer report

    Hi Everybody,
    Would you be able to provide a workflow/guidance how to use sql function in Discoverer right from creating the function using PLSQL Developer.
    (I am new to Oracle environment... prev. worked as analyst with Microsoft Access... took PL/Sql class in school a few years ago)
    We are using Discoverer Desktop.
    a) Just emailed dba for permission to create pl/sql function.
    b) Recently got Discoverer Administrator installed on my pc.
    can you pls add to the list:
    c)....
    d)....
    etc.?
    tx for your help, sandra

    Hi Kranthi,
    Thx for your warm words....
    The links you provided are great! Thx soooo much!
    Thanks to you and the rest of forum members, am able to use what you've all taught me
    with other Discoverer reports.... so i was able to do more on my own....
    About a month ago, I got access to Discoverer Admin, and was able to paste SQL to create a custom folder.
    Then i joined the custom folder to an existing baseline folder.
    I have found that sometimes when I use calc within a calc when the calcs use analytic functions, that Discoverer
    just displays null in the column. I thought that maybe instead I could create my own function as a work-around.
    I wrote IT for permissions to create views, functions etc. Hopefully, they'll approve and can move toward learning
    pl/sql functions for Discoverer.
    tx again, sandra

  • Reporting Toolkit: How to insert a blank line into an MS Word Report?

    Hello,
    I have created an MS Word report, but I haven't been able to find out how to "write" a blank line to the report.  I've tried every combination of \n, \\n, "\n", '\n', \\n etc., but I haven't had any good luck.
    Thanks,
    Chris

    Hello,
    If you're using "append report".vi it's has one input for "new line".
    Message Edited by Jorge Amaral on 05-02-2008 03:28 PM
    Software developer
    www.mcm-electronics.com
    PS: Don't forget to rate a good anwser ; )
    Currently using Labview 2011
    PORTUGAL
    Attachments:
    append.PNG ‏3 KB

Maybe you are looking for

  • ITunes 10 Plays No Content Locally After Emergency Disk Migration

    All: I have an MBP (Late-2008) running OSX 10.6.6 with iTunes 10.1.1(4). Recently, a low disk space condition on my external FireWire drive holding my iTunes library clued me in to an impending disk failure of that drive. I purchased a new drive, and

  • Installing my new Acrobat XI Pro on my new iMac?

    I was installing my new Acrobat XI Pro on my new iMac and at the end of the install, during "validation" got an error message and instructed to contact manufacturer - thoughts

  • After start up, desktop does not appear on Mac Pro

    I was working on my Mac Pro last night, steped away from it for about 20 minutes.  The screen saver came on and froze, I was not able to exet out of the screen saver to the desk top.  Had to force shut off, waited 1.5 minutes and restarted.  As soon

  • MDT language selection

    When i deploy a MDT image with a language pack installed (aka the language pack/package selection) I get a black screen saying "System preparing for first use" However when I use a non-image aka the windows source DVD and deploy through MDT i can get

  • Iphone 3GS is stuck at backing up window when trying to update to new 4.0

    Hello, I need help...I've been trying to update both mine and my wifes iphone 3gs to the new update 4.0 for two days now...I am so fustrated. I tried unplugging and restarting the computer several time..nothing..I've tried updating the USB driver...n