Bug: Or just bad feature!

R

Russ McKenna

Just recently, and I believe it to be a patch - just can't find it to undo.

I currently on version 10.0.2514.

You used to be able to load document 1, load document 2, with doc2 having
the focus, you could open vba, modify the previewpicture for doc1. Close
vba, then save doc1.

You would have a new preview picture, and with out that macro warning
window, since no vba was created.

Now you can not do this.

How can we change the preview picture of a template with out using vba. I
have tried using VBVSL code - but get errors.

This what I used to do
step 1) Open "C:\Program Files\Microsoft Office\Visio10\1033\Solutions\WSLC
Quote Tool\WSLC.vst" in visio
step 2) create a new document
step 3) with the new document as the focus document, open visual basic for
applications
step 4) in the immediate window do the following comman
? documents("wslc.vst").index
this will return the index of the wslc.vst document call it 1 as an
example

step 5) in the immediate window do the following command
set documents(1).PreviewPicture = loadpicture("d:\wslc design\Quote
Tool\WSLC.emf")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top