Shapesheet DOCMD, other useful parameters besides showing shape data

Started by Visisthebest, January 28, 2022, 10:59:30 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Visisthebest

I am very happy with the DOCMD(1312) shapesheet function, really useful to show the Shape Data form for a specific shape.

The function itself:
https://docs.microsoft.com/en-us/office/client-developer/visio/docmd-function

Seems to have a ton of other parameters with which it can be used:
https://github.com/MicrosoftDocs/VBA-Docs/blob/main/visio/Concepts/docmd-docmd-commands.md

What are other useful uses of DOCMD that have helped other Visio solutions, I am probably also overlooking some features of Visio because I know very very little about DOCMD.

Also I saw on the forum some of the DOCMD parameters don't seem to work properly:
http://visguy.com/vgforum/index.php?topic=485.msg2075#msg2075

Visio 2021 Professional

Yacine

Column three of you 2nd link is the problem (most of them are not available in the shapesheet).
In VBA I usually target the object properties directly.
Yacine

Surrogate

Quote from: Visisthebest on January 28, 2022, 10:59:30 AMSeems to have a ton of other parameters with which it can be used:
https://github.com/MicrosoftDocs/VBA-Docs/blob/main/visio/Concepts/docmd-docmd-commands.md
Few times ago i create Excel online sheet with these commands. It is a pity that in this forum it is not possible to embed such sheets   :(
Quote from: Yacine on January 28, 2022, 11:38:05 AM
Column three of you 2nd link is the problem (most of them are not available in the shapesheet).
Right now I've embedded a sheet on my website
https://shapesheet-kb.github.io/en/pages/DOCMD-list.htm
There you can use filters and text search like in Excel

Visisthebest

Visio 2021 Professional