<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Link to SAS tables from a Word report in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92038#M19414</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm going to be presenting a paper at SGF in San Francisco next month on _reading_ Word documents into SAS and the process can be reversed to write SAS data to a Word document but I don't cover it.&amp;nbsp; The trick is setting bookmarks in Word--such as bookmarking a table--and then running SAS so that it outputs data into the bookmarked table.&amp;nbsp; You don't have to worry about how many rows are in the data set because a bookmarked table is dynamic in terms of rows. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd rather not post the paper here but if you send me your email address I'll send you an advance copy.&amp;nbsp; &lt;A href="mailto:john.bentley@wellsfargo.com"&gt;john.bentley@wellsfargo.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Mar 2013 14:47:16 GMT</pubDate>
    <dc:creator>bentleyj1</dc:creator>
    <dc:date>2013-03-29T14:47:16Z</dc:date>
    <item>
      <title>Link to SAS tables from a Word report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92021#M19397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi fellow Forum members,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to link to SAS output tables from MS-Word documents. I tried creating the tables into a RTF document with anchors using ODS and then referring to these anchors from my Word report. That didn't work. I can create a hyperlink to the table in the RTF document but I can't make the table appear in my report. Can it be done?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 17:10:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92021#M19397</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2013-03-28T17:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Link to SAS tables from a Word report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92022#M19398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A __default_attr="2746" __jive_macro_name="user" class="jive_macro jive_macro_user" href="https://communities.sas.com/"&gt;&lt;/A&gt;: from word, if you click on insert and then on the icon shown below, followed by "Text from File", you can insert rtf and html files into word documents:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="word_menu.jpg" class="jive-image" src="https://communities.sas.com/legacyfs/online/3297_word_menu.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 18:42:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92022#M19398</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2013-03-28T18:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Link to SAS tables from a Word report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92023#M19399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Art for the detailled instructions. I tried that and it didn't include anything into my Word document (it didn't signal any error). Does it work for you? I'm using SAS 9.3 and Word 2007.&lt;/P&gt;&lt;P&gt;- PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 19:01:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92023#M19399</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2013-03-28T19:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Link to SAS tables from a Word report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92024#M19400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi PG,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain a bit more of what you're trying to do?&lt;/P&gt;&lt;P&gt;What do you mean by a SAS Table? Is it in another word document and what kind of link are you looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 19:28:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92024#M19400</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-03-28T19:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Link to SAS tables from a Word report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92025#M19401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A SAS table is the formatted version of an ODS dataset. I guessed the RTF version of a table would be the most compatible with Word.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for an updatable (dynamic?) link. If I redid the analysis in SAS, I would like to see the updated version in my Word report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 19:36:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92025#M19401</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2013-03-28T19:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Link to SAS tables from a Word report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92026#M19402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is that still a SAS dataset, ie sas7bdat file?&lt;/P&gt;&lt;P&gt;You can embed an excel table into a word document. And if you update the source excel table via SAS either through a simple proc export, DDE or other manner it should update in Word as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 19:40:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92026#M19402</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-03-28T19:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Link to SAS tables from a Word report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92027#M19403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it did work for me.&amp;nbsp; I'm using Word 2010.&amp;nbsp; However, it wouldn't update the document when the html or rtf document changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can attach one of the files, I'll see if it works on that particular file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 20:00:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92027#M19403</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2013-03-28T20:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Link to SAS tables from a Word report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92028#M19404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A __default_attr="2746" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;: Try following the instructions shown in the following link: &lt;A href="http://wordprocessing.about.com/od/wordquicktips/qt/linktext.htm" title="http://wordprocessing.about.com/od/wordquicktips/qt/linktext.htm"&gt;Automatically Updating Text in Many Documents&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This actually links the files with the new document so that the document is updated when anything in the link changes.&amp;nbsp; The instructions, basically, are just to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Verdana; font-size: 12px; background-color: #ffffff;"&gt;1. Create a document containing the text you want to link to&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Verdana; font-size: 12px; background-color: #ffffff;"&gt;2. Copy the text you would like to insert in your other documents&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Verdana; font-size: 12px; background-color: #ffffff;"&gt;3. Open the document where you would like to insert the text&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Verdana; font-size: 12px; background-color: #ffffff;"&gt;4. Place the cursor where you would like the text to appear&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Verdana; font-size: 12px; background-color: #ffffff;"&gt;5. From the &lt;/SPAN&gt;&lt;STRONG style="color: #333333; font-family: Verdana; font-size: 12px; background-color: #ffffff;"&gt;Edit&lt;/STRONG&gt;&lt;SPAN style="color: #333333; font-family: Verdana; font-size: 12px; background-color: #ffffff;"&gt; menu, select &lt;/SPAN&gt;&lt;STRONG style="color: #333333; font-family: Verdana; font-size: 12px; background-color: #ffffff;"&gt;Paste Special&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Verdana; font-size: 12px; background-color: #ffffff;"&gt;6. From the &lt;/SPAN&gt;&lt;STRONG style="color: #333333; font-family: Verdana; font-size: 12px; background-color: #ffffff;"&gt;Paste Special&lt;/STRONG&gt;&lt;SPAN style="color: #333333; font-family: Verdana; font-size: 12px; background-color: #ffffff;"&gt; dialog box, select &lt;/SPAN&gt;&lt;STRONG style="color: #333333; font-family: Verdana; font-size: 12px; background-color: #ffffff;"&gt;Paste Link&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested it, at least in Word2010, by inserting an HTML document into the new document.&amp;nbsp; I presume it should work with rtf as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 20:26:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92028#M19404</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2013-03-28T20:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Link to SAS tables from a Word report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92029#M19405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestion Reeza, but a raw data table is not what I need to include in my report.&lt;/P&gt;&lt;P&gt;It's the formatted version of a SAS table that I want to link to, something like :&lt;/P&gt;&lt;P&gt; &lt;IMG alt="Capture Report.PNG" class="jive-image" src="https://communities.sas.com/legacyfs/online/3299_Capture Report.PNG" /&gt;&lt;/P&gt;&lt;P&gt;It would be part of a RTF file and pointed to within the file by an anchor name. I can bring such a table from the RTF output to my report with cut and paste but I would like to make the process automatic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 21:11:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92029#M19405</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2013-03-28T21:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Link to SAS tables from a Word report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92030#M19406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Art,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time and ideas. Like so many half baked features in MS-Office, this one almost looks like it works. When I paste a link to my table, Word inserts a new bookmark in the RTF file. It call it OLE_LINK1. It doesn't use the bookmark that was inserted by SAS for the same table. If I edit the RTF file with Word, the edits will be carried over to my report. But this also means that when I update the RTF file by running my SAS program again, the inserted link (OLE_LINK1) is lost and the link is broken.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 21:51:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92030#M19406</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2013-03-28T21:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Link to SAS tables from a Word report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92031#M19407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi PG,&lt;/P&gt;&lt;P&gt;Do you think mail merge would work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 22:14:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92031#M19407</guid>
      <dc:creator>Linlin</dc:creator>
      <dc:date>2013-03-28T22:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Link to SAS tables from a Word report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92032#M19408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not familiar with mail merge. Can whole tables be inserted with it? - PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 22:37:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92032#M19408</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2013-03-28T22:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Link to SAS tables from a Word report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92033#M19409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi PG,&lt;/P&gt;&lt;P&gt;I tried. I can only insert a row from a table not the whole table. Sorry.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 00:02:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92033#M19409</guid>
      <dc:creator>Linlin</dc:creator>
      <dc:date>2013-03-29T00:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Link to SAS tables from a Word report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92034#M19410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A __default_attr="2746" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;: Methinks that is one for SAS to take care of, namely offering to maintain links when a file is replaced.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 01:08:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92034#M19410</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2013-03-29T01:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Link to SAS tables from a Word report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92035#M19411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could a hyperlink in the word doc open a SAS table in the SAS Universal Viewer, and would that be of adequate quality of presentation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 01:55:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92035#M19411</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2013-03-29T01:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Link to SAS tables from a Word report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92036#M19412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; With a SAS Stored Process and the SAS Add-in for Microsoft Office, you can insert stored process results into a Word doc (basically ODS output) and then tell the Add-in to refresh the output on open. And, if the data has changed since the last time the stored process was run, the new version of the data would populate the formatted stored process output in the Word doc. So that kind of functionality exists, but you would either need the Office Analytics suite or the Enterprise BI Server suite. Both include the SAS Add-in for Microsoft Office.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Otherwise, I'm not sure how you would do what you want. Sort of sounds like .NET or VB type of process -- an after the fact process where the SAS output is grabbed via Microsoft technology to update the Word document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 02:49:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92036#M19412</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2013-03-29T02:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Link to SAS tables from a Word report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92037#M19413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ouch! I was looking for a way to &lt;SPAN style="text-decoration: underline;"&gt;simplify&lt;/SPAN&gt; my life :smileylaugh:!&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;Thanks all for your ideas! I think I'll quit on that one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 03:21:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92037#M19413</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2013-03-29T03:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Link to SAS tables from a Word report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92038#M19414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm going to be presenting a paper at SGF in San Francisco next month on _reading_ Word documents into SAS and the process can be reversed to write SAS data to a Word document but I don't cover it.&amp;nbsp; The trick is setting bookmarks in Word--such as bookmarking a table--and then running SAS so that it outputs data into the bookmarked table.&amp;nbsp; You don't have to worry about how many rows are in the data set because a bookmarked table is dynamic in terms of rows. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd rather not post the paper here but if you send me your email address I'll send you an advance copy.&amp;nbsp; &lt;A href="mailto:john.bentley@wellsfargo.com"&gt;john.bentley@wellsfargo.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 14:47:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92038#M19414</guid>
      <dc:creator>bentleyj1</dc:creator>
      <dc:date>2013-03-29T14:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Link to SAS tables from a Word report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92039#M19415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOL, PG, I hear ya! But as a matter of fact, the way that Cynthia suggested is fairly straightforward if you have those products installed. Do note that EBI platform etc are designed in such a way that those who do not have BASE SAS experience are able to pick them up quickly. You probably will be bored for lacking intelligence challenge when using them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haikuo &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 15:31:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92039#M19415</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2013-03-29T15:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Link to SAS tables from a Word report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92040#M19416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's what I tried and what worked and what did not work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created an excel file that I exported the SAS output to. &lt;/P&gt;&lt;P&gt;I created a new sheet in the excel file that I can format the table to look nice. &lt;/P&gt;&lt;P&gt;Save the document with the formatted sheet being the sheet on display on close. &lt;/P&gt;&lt;P&gt;In the Word Document, insert object, from file, with 'link to file' selected.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Save the word document. &lt;/P&gt;&lt;P&gt;Open the excel file and make changes and then close. &lt;/P&gt;&lt;P&gt;The word document asks to be updated when it opens and depending on the selection is updated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some issues - updates aren't instantaneous, it seems to take a full minute to refresh the link at least if both files are open. &lt;/P&gt;&lt;P&gt;Second, if the excel file is saved with a different tab active then that tab is displayed not the formatted one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can only see this working for one table though, if you're doing more than one table you'd need a more robust method. I'll be interested in seeing Johns solution. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 17:18:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Link-to-SAS-tables-from-a-Word-report/m-p/92040#M19416</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-03-29T17:18:03Z</dc:date>
    </item>
  </channel>
</rss>

