Solved

Visio 2013 - the GUARD function

Posted on 2014-07-24
2
793 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

Scott A. Helmers Partner, Harvard Computing Group Microsoft Visio MVP Background Microsoft has added more enhancements and new features to Visio 2010 than to any release since they purchased the Visio product line in 2000. In addition, the com…
Book Review: Using Microsoft Visio 2010 by Chris Roth   Disclaimer: The author of Using Visio 2010 is a friend and fellow Visio MVP. Whether you’re new to Visio or are upgrading to Visio 2010 from a previous version, you will find a lot to like…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

733 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