Solved

Visio 2013 - the GUARD function

Posted on 2014-07-24
2
772 Views
Last Modified: 2014-07-29
I looked up sites, used the help screen but I am really having a hard time understanding the GUARD function.
Can someone give me a couple simple, kindergarten examples?
0
Comment
Question by:brothertruffle880
2 Comments
 
LVL 30

Accepted Solution

by:
Scott Helmers earned 250 total points
ID: 40219176
The general idea with GUARD() is to prevent a particular cell value from being changed via the user interface (or in many cases by code). For example, draw a rectangle and manually set the fill color to 1 (white) and the fill pattern to 1 (solid). At this point you will be able to change the shape color by using the Fill button on the ribbon. Next, change the value in the fill color cell from 1 to GUARD(1). You will no longer be able to change the fill color using the Fill button.
0
 
LVL 11

Assisted Solution

by:Visio_Guy
Visio_Guy earned 250 total points
ID: 40219283
Guard should be wrapped around a whole formula as well, not just a portion of a formula.

It is generally used in the Shape Transform section and Line and Fill sections. Occasionally also used to lock down a Shape Data value as read-only.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Question Several times in recent years, someone has posted a question at EE asking whether they could display the Windows directory structure – folders and subfolders – using Visio. When one person specifically asked about displaying directory …
Meetings to discuss business process can waste time, and often do .  The meeting's dialog can get confusing when participants have different professional perspectives and backgrounds.  A jointly-developed process picture helps wade through the confu…

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question