Note that there are some explanatory texts on larger screens.

plurals
  1. POVisio 300+ pages, split into 300+ separate docs, or print to pdf, export to jpg/gif
    primarykey
    data
    text
    <p>I created 300+ page Visio drawing by importing data to create 300+ "org charts". </p> <p>I say "org charts' bc they are actually drawings of a Crystal Report as 'CEO' and its datasource tables and fields as "employees". </p> <p>I now have one huge Visio file with 300+ pages, each page is one report and its datasources. But my goal is to get 300+ separate documents each named appropriately. Using vba i can rename each page as desired or obtain desired name from page. </p> <p>Ideally i want to have pdf files, not visio files but in pinch would do, and last desirable would be as jpg/gif. </p> <p>I have tried:</p> <ul> <li><p>exporting/saving each page as jpg/gif/html but get 920 error.. i am totally stumped after exhaustive search on how to modify resolution for each page to avoid 920 error, i mean what is the 'perfect' resolution required? very vague documentation available.</p> <pre><code>Sub ExportPagesAsFiles() Dim PagsObj As Visio.Pages Dim PagObj As Visio.Page Dim ExportName As String Dim ExportPath As String Set PagsObj = ActiveDocument.Pages 'Open "C:\temp\exportLog.txt" For Output Shared As #1 For Each PagObj In PagsObj ExportPath = "c:\Report_Visio\" ExportName = ExportPath &amp; PagObj.Name &amp; ".jpg" ' ".gif" ' ".wmf" ' ".html" 'Print #1, ExportName PagObj.Export ExportName Next PagObj 'Close #1 End Sub </code></pre></li> <li><p>printing to pdf printer but hit pdf software dialogue (CutePDF). I have no admin rights to modify system registry and I am on Windows 7 machine and sendkeys is outlawed.</p></li> <li><p>vba to create new doc, copy/paste page drawing into it, name new doc, save it with name. But some Visio quirk only copy paste page objects but not the captions and data behind them so they are blank shapes. Copying entire page contents is not clear to me after exhaustive search.</p></li> <li><p>vba to save copy of 300+ doc with name of first page, then delete rest of pages. Open original 2nd time, save as second page, then delete rest of pages, and repeat 300+ times. I quit this after 10 or so pages and 3 hours.</p></li> </ul> <p>Seems every possible solution path hits pitfalls, swamps, cliffs ..</p> <p>As a general note, there is either very spartan, or obtusely technical, Visio information available on internet. With any other Office product, there are loads of info, examples, etc in forums etc. But Visio its crickets.</p> <p>So wonder if any Visio developers can help me choose and navigate these solution paths!</p> <p>Thanks.</p> <p>Edit to add: I am using Visio Standard 2003 version Edit to add Visio export to file code used</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload