Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Other Office > Word VBA
|
Word VBA Discuss using VBA to program Word.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Word VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 10th, 2013, 06:31 AM
Registered User
 
Join Date: Sep 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help with set up of automatically updating cross reference.

Hi,


At work we create reports with many sections. At the end of each section we assign a category A,B,C,D.

For clarity at the start of the report we put a cross reference matrix, with the heading (either level 1, 2 or 3) in one column, then 4 more columns called A, B, C, and D. There is then a black dot (or any mark) in the column linking to the sections category.

I was wondring if via VBA or another method it is possible that word automatically updates the position of the mark when the category is changed. It would be great if the whole table is made automatically, but this is not completely necesarry, the main aim is for the mark associated with the category to be automatically updated.

I can if it helps attach an example document with the cross reference matrix.

Cheers
 
Old September 10th, 2013, 11:47 PM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Hi

Have you tried using radio buttons for the dots

the radio buttons in each table header can be grouped together


Cheers
Shasur
__________________
C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)
 
Old September 12th, 2013, 05:06 AM
Registered User
 
Join Date: Sep 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Shasur View Post
Hi

Have you tried using radio buttons for the dots

the radio buttons in each table header can be grouped together


Cheers
Shasur
Can the selection of the radio button be if formatted?

So If in the report the text for say Heading 2.1.3 A then the radio button filled/selected in the cross reference matric at the start of the document is picked at the top, and if it is B the next column is etc...
 
Old September 21st, 2013, 11:05 PM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Hi

It can be done automatically using Word events for Fields (if you need on the fly) or can be done at the close/opening of the document

Cheers
Shasur
__________________
C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Set up a schedule for running macro automatically cindyl Access 0 February 21st, 2013 04:31 PM
generate-id() cross-reference kaiLa XSLT 5 June 7th, 2010 12:55 PM
Updating Bound Controls Values automatically Borhani Excel VBA 0 January 20th, 2008 12:48 PM
Updating Reference maxpotters Excel VBA 0 December 24th, 2005 05:44 AM
Set query up to automatically run in SQL server ALLA SQL Server 2000 3 October 21st, 2004 04:24 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.