How to programmatically close shape data sets window

B

Bryant

I've been living with this problem for a long time now. My shape data
sets window continually opens whenever I open a visio 2007 self made
template. Several template versions ago i did utilize this window
during the initial shape development phase but no longer. I have:

1) Closed the shape data sets window, opened up Visio properties,
unchecked "save workspace", and saved the file. Reopen file, open
visio properties, recheck "save workspace", open/dock (only) stencil
window & shape data window, save template.

2) Removed every reference to shape data sets within every shapesheet
for every shape utilized within the template.

Despite this, the shape data sets window contiues to open for every
instance of the template. Being new to VBA i can only conceive of a
way (but so far unable to find the language) to close this window
following a template being opened.

Any and all help is appreciated, Thanks!

Bryant Lemieux
 
A

AlEdlund

If you're really talking about the external data window, make sure that you
might check that you have removed the hidden information from the template
document (the recordset data).
al
 
B

Bryant

Hi,

Do you mean Shape Data window by shape data sets window?

I mean the Shape data sets window...the one that enables you to copy
sets of shape data from one shape to another. In visio 2007, it's
accessed by right clicking the shape data window. I used this window
and it's functionality a while ago to do some shape development and
now it won't go away. I close it, save my drawing and/or template and
it's there again whenever i reopen the document...I'm being haunted!
 
J

JuneTheSecond

Thank you Bryant,

Now, I see what you mean.
But unfortunately it may be a bag.
And then, my idea is to add a macro that hide the window
when open the drawing.
 
B

Bryant

Thank you Bryant,

Now, I see what you mean.
But unfortunately it may be a bag.
And then, my idea is to add a macro that hide the window
when open the drawing.

Great Solution...simple and elegant. I haven't tried it yet but i
can't see how it will fail. Thanks so much!
-Bryant
 
B

Barb Way

It is a problem with the Shape Data Sets window, and it has been logged.
Unfortunately I don't know of any other work around besides manually
closing it or a macro.

Barb Way
Product Support - Visio
Microsoft Corporation
[This posting is provided "As Is" with no warranties, and confers no
rights.]
--------------------

If you're really talking about the external data window, make sure that you
might check that you have removed the hidden information from the template
document (the recordset data).
al
 

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