Search icon CANCEL
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Microsoft Visio 2010 Business Process Diagramming and Validation

You're reading from  Microsoft Visio 2010 Business Process Diagramming and Validation

Product type Book
Published in Jul 2010
Publisher Packt
ISBN-13 9781849680141
Pages 344 pages
Edition 1st Edition
Languages
Author (1):
David Parker David Parker
Profile icon David Parker

Table of Contents (15) Chapters

Microsoft Visio 2010 Business Process Diagramming and Validation
Credits
Foreword
About the Author
About the Reviewers
1. Preface
1. Overview of Process Management in Microsoft Visio 2010 2. Understanding the Microsoft Visio Object Model 3. Understanding the ShapeSheet™ 4. Understanding the Validation API 5. Developing a Validation API Interface 6. Reviewing Validation Rules and Issues 7. Creating Validation Rules 8. Publishing Validation Rules and Diagrams 9. A Worked Example for Data Flow Model Diagrams

Writing the rule set


In Chapter 4 you learned how to write VBA code to add a rule set and rules, and, although you could repeat this throughout the rest of this chapter, I prefer to use the user interface that we developed in chapters 6 and 7. Therefore, you will need to install the Rules Tools add-in or run the Validation Explorer solution from Visual Studio 2010, in order to write the rules easily. However, I have included VBA methods to add (or update) the rule set and rules, which can be written into the VBA project of any Visio document, but should be run when the document that you want to add the rules to is active.

Open the Rules Explorer window from the Rules Tools group on the Process tab.

With your document node selected in the Rules Explorer window, click the Add button, then enter the Name, Name U, and Description of this new rule set.

You can now add each of the new rules by translating the previous descriptions into validation formulae.

The equivalent VBA code is listed below...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime}