TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:Re: conditional text without FrameMaker? From:Dave Whelan <dwhelan -at- PANGEA -dot- CA> Date:Sat, 3 Jul 1999 10:51:15 -0500
Melissa Fisher asks for ideas on producing a price list showing different
versions of a product with variations in product descriptions and prices,
without using FrameMaker's conditional text.
This does sound like a database application, but you could also do
everything you need using a Word macro. This is how it might work:
1. Create a Word template containing the standard price list and insert
bookmarks where the variables go.
2. Create document files that contain the variables.
3. Write a macro that opens the appropriate variables files and inserts the
contents into an open document at the appropriate bookmarks.
4. Open a new document using the template you created in step 1.
5. Run the macro.
6. Save the new document as the new price list.
Whenever anything changed, you would modify the variables files; whenever
you needed an updated price list you would use steps 4-6.
You could make this as fancy as you want, for instance you could create
another macro to make it easy to name, create, and update the variables
files using dialog boxes. You could also create lists of different variables
files to be used in different price lists.