Make a dynamic doc with Word 2013

Hi all,

Today, nothing technical. Just a little tip in Word (2013 at least). I always have to write technical documentations before every values are defined by the project. I don’t know of naming convention or final fqdn for services, etc. I spend a lot of time in Ctrl + H my doc, replacing a server name or an IP address. And as a lazy techie, I don’t like to make things twice.

So, the today tip helped me to review my docs more quickly and maybe reuse it in other context. In your document, create a chapter called “variables” where you’ll set all the names, IP, values or anything you’re not sure at the time you write the document. In this chapter, you just have to create a bookmark by typing Ctrl+F9 and your bookmark definition. For example :

{ set StoreFrontServiceName SF.domain.com }

Note : You have to type “Ctrl+F9 set StoreFrontServiceName SF.domain.com” on your keyboard. Don’t write bracket “{ }” key because Word won’t recognize it as bookmark.

Then, in your documentation, when you want to use the Storefront Service Name, just write Ctrl+F9 StoreFrontServiceName :

{ StoreFrontServiceName }

When the service name is validated, you just have to go in your variables chapter and replace SF.domain.com by the correct value. Then select the whole document (Ctrl+a), right-click  the content and choose “update field”. You’ll see that nothing is visible in your variables chapter and can remove the title. Don’t remove the content. Even if it is not visible, the variables definitions are still there.

Thanks for reading.

Jerome.

Advertisements

Citrix, mobility & virtualization @Work / father, husband & geek @home

Tagged with:
Posted in Misc
One comment on “Make a dynamic doc with Word 2013
  1. Pretty great post. I just stumbled upon your blog and wanted to say that I’ve truly enjoyed surfing around your
    blog posts. In any case I will be subscribing for your rss feed and I
    am hoping you write once more very soon!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: