Circular Text Generator (version 1)
Posted by Visio Guy on October 18th, 2007 5310 views
OK, we've just about had enough! Between all the newsgroup posts, and John Marshall's nagging, it's time to do something about adding text to a circle in Visio. 'Til now, the standard response has been; "insert a Word Art object". But with Visio's SmartShape- and automation capabilities that just won't do! We ought to be able to build something cool--and more native to Visio. This article presents the first in a series of the Circular Text Generator!
Getting Started
The companion download at the end of this article contains a zipped Visio file that will help you create text that wraps nicely around a circle! You can resize the circle, format the text, and reposition the text's starting point to get just the look that you want! But in order to get the "generator" to work, you'll need to allow the VBA macros inside of the document permission to run. If you're not familiar with VBA macros, and the related security issues, please have a look at VBA Macro Security first. Once you've downloaded the file, opened the document, checked the code, and enabled the macro code to run, you'll be ready to rock-n-roll!
Running the Generator
To generate circular text, you simply need to click the button on the page. You'll be presented with an input dialog, into which you can enter any message you want:

After you click OK, you'll see something like this:

Tweaking the Output
The result is a system of shapes, not a single smart shape. Note the light-blue, dotted circle, diagonal line and cross hairs. This is the Guide Shape. The characters are bound to the guide via smart formulas in their ShapeSheets. Thus, the guide serves as a sort of User Interface for changing the look of your curved text. You only need to select the guide shape to do any of the following operations:
- Resize the circle
- Reposition the entire system
- Change the starting position of the text
Note: the guide does not print, so you don't have to worry about funny looking circles in your finished, printed documents! Below, you can see the yellow control handle that appears when the guide is selected. Just drag this to change the starting location of your message:
Since the characters are separate shapes, you can simply select any number of them by either dragging a selection net around the characters, or by Shift + Clicking individual letters. The formatting of the characters is not locked in any way, so you can change the color, style and size of each character. You can even change the character itself, although there is no way to edit the whole message. If you need to change the text, simply create a new system by clicking the button.

We hope you find version 1 of the Circular Text Generator useful and easy-to-use. We will be periodically enhancing the capabilities of the tool, so check back often! Download Circular Text Generator (version 1).zip (71 KB)
Update: There's a new version, but the info in this article still applies to the new version. See: Circular Text Generator (version 2)
Visio Guy 







October 19th, 2007 at 4:32 am
Very impressive! Nice work, Chris.
October 20th, 2007 at 11:21 pm
Thank you soo much for this great tool! This feature was really missing in visio
October 22nd, 2007 at 1:45 pm
Could something similar be created to put the text inside the circle?
This is something I have been looking for in Visio for some time - thanks!
October 22nd, 2007 at 3:34 pm
Hi Art,
I’m planning to add features to this over the coming months. One of those features will be to be able to shift the “baseline” so you can move the text in and out with respect to the circle.
So check back now and then! I suppose I should figure out how to e-mail new-post notifications to you readers
- Chris
October 23rd, 2007 at 8:05 pm
Chris,
No worries on an email alert system - I am checking in often enough. 8^)
Another thought on the circular text generator - have a radio button that selects “clockwise” or “counter-clockwise” for the text direction.
Thanks!
Art
November 14th, 2007 at 1:26 pm
Great site and great stuff mate… I was really trying hard for the circular arrows and text and you’ve just delivered me right out of my mess.
November 17th, 2007 at 6:16 pm
Chris,
Is there any way to “hard set” or enter the starting angle in a control box on the text start handle?
After adding text it becomes more difficult to get precise control - 45 degrees, 90 degrees, etc.
Thanks!
Art
November 17th, 2007 at 7:32 pm
Hi Art,
There’s no numerical setting for the starting angle. It works well on my machine. It might have to do with computer- or video speed. You might fiddle with the live dynamics setting:
Tools > Options > General Tab: Uncheck “Enable Live Dynamics”
This will make it easy to push the yellow handle around, but you won’t see what you’ve done until you let the mouse button up.
November 23rd, 2007 at 12:12 pm
Have been after this for a long time now. Thanks again.
November 26th, 2007 at 11:40 pm
Great Tool. Seems unfair to ask for adjustments, but I will anyways. How can I make the set the letters to be closer together. I need to be able to squeeze more text into one slice (arc) of the circle.
November 27th, 2007 at 2:49 pm
Hi Trampas,
A few things you might try:
- Use a narrow font, like ‘Arial Narrow’
- Look under Format > Text > Character Tab. There you can shrink the width of the characters, or the spacing between the characters. This might help
- Check back for updated versions now and then. I’m not sure when version 2 will appear, but it’s in the works…
Cheers,
- Chris
November 27th, 2007 at 8:11 pm
Visio Guy,
Kudos on this script. It has helped my group at work significantly with some graphics we are making.
I too am interested in the additional functionality when you get to it - The ability to write inside the circle as well so that you can curve text down or up.
Cheers,
Kevin
November 27th, 2007 at 11:19 pm
…well, I suppose Christmas is just around the corner!
- Chris
January 3rd, 2008 at 3:27 pm
Chris,
This “Gem” of an article has disappeared from the front page and the archive page - I had to access it from the “Index” page.
Thought you should know…
Any updates as Christmas has just past?
Thanks!
Art
January 3rd, 2008 at 3:35 pm
Great work! Is there any hope for older versions (Visio 2002) or perhaps posting the script?
Regards,
James
January 3rd, 2008 at 9:31 pm
Hi Art B,
You have helped me find a bug in my archive code. This article had indeed disappeared!
It was stuck between the post-excerpts-with-icons, and the shorter entries. I’ve added a “<=” in place of an “<”, and now everything works! Thanks for catching this.
Hmm…and yes, Christmas is past. Perhaps the I should upload the next version soon…perhaps an offering to ensure a Seahawks 1st-round playoff victory?
Cheers,
Chris
January 4th, 2008 at 9:22 pm
Please upload the new version - love to give it a spin.
As for football - this season’s high points were the Bears beating the Packers in both games this season…
Thanks!
Art
January 5th, 2008 at 8:14 pm
[…] Circular Text Generator (version 1) […]
January 5th, 2008 at 9:11 pm
Ok Art,
Version 2 is finally here! Circular Text Generator (version 2)
Cheers,
- Chris
July 8th, 2008 at 7:50 am
At last an ongoing problem is solved! Thanks so much for this text generator.
August 12th, 2008 at 1:46 pm
Will this work with Visio 2002 sp2? Our corporate is a bit behind and I can not open the downloads
August 12th, 2008 at 10:33 pm
Hi John,
See version 2 of this tool. There’s a Visio 2002 version posted there.
- Chris