Author Topic: <DOCUMENT> shape data, edit with double-click?  (Read 1750 times)

0 Members and 1 Guest are viewing this topic.


  • Jr. Member
  • **
  • Posts: 42
<DOCUMENT> shape data, edit with double-click?
« on: August 07, 2017, 10:28:11 AM »
I'm currently rebuilding an existing 2003 document with lots of smartsheet automation, into 2010.
I'd like to hold some centralised data at <DOCUMENT> level, which will be settings that apply across all the document's pages.

Ideally users of the doc can then populate the settings without using the shapesheet.

Is there any way I can create a shape and have its double-click open a dialogue for <DOCUMENT> data?
I.e. an event which is like  =DOCMD(1312)  but can open another shape?


  • Hero Member
  • *****
  • Posts: 1015
    • ShapeSheet™ Knowledge Base
Re: <DOCUMENT> shape data, edit with double-click?
« Reply #1 on: August 07, 2017, 10:34:55 AM »
IMHO You can get access to <DOCUMENT> shape data ONLY with using ShapeSheet !

Just use SETATREF function. In field Value write formula like as

heelpful links about SETATREF
What's with SETATREF anyway?
SetAtRef et al.
Message in thread Change shape color as a function as input

« Last Edit: August 07, 2017, 11:35:47 AM by Surrogate »


  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3822
  • Ideas Visio-lized into solutions
Re: <DOCUMENT> shape data, edit with double-click?
« Reply #2 on: August 07, 2017, 11:16:59 AM »
Dbl click doesn't work on the page, but, you can bring up the right click, context menu.  This will give access to limited commands via Actions section in the page shapesheet.  In the Actions section, you can create a series of entries, e.g.,

First row:  rename of Actions.PgProps.  Set Action = DOCMD(1076), Menu ="Open Page Properties".

Search on line for Visio list of DOCMDS.  Not all docmds are available in shapesheet.

This is not exactly a document universal solution, but, it's about as close as you get short of using macros. 

Use a template file for the most common settings.

Visio 2019 Pro

Hey Ken

  • Full Member
  • ***
  • Posts: 218
  • Just This Guy
    • The Pennsylvania Project, with Ken Krawchuk
Re: <DOCUMENT> shape data, edit with double-click?
« Reply #3 on: August 07, 2017, 11:42:12 AM »


I do this all the time.  As one example, check out a post I wrote on the subject many years ago,  I keep the common info on the document’s shapesheet, then reference it from other shapes.  The example shows how to update values on the document shapesheet using a single “hot shape” as the source, but you could use the shape’s doubleclick to open a VBA form to do the same initialization.

Hope this helps,

- Ken

Ken V. Krawchuk

The Pennsylvania Project
Radio Podcast

10 to 11 AM Saturdays on WWDB 860 AM in Philadelphia
7 to 8 AM Mondays on KUR 1670 AM in Kutztown
On demand at


  • Jr. Member
  • **
  • Posts: 42
Re: <DOCUMENT> shape data, edit with double-click?
« Reply #4 on: August 08, 2017, 04:04:24 AM »
Thanks so much guys!  I will check these out and post back with how it goes.  :)