Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Other Office > Word VBA
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old September 10th, 2013, 06:31 AM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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
Reply With Quote
  #2 (permalink)  
Old September 10th, 2013, 11:47 PM
Friend of Wrox
Points: 3,060, Level: 23
Points: 3,060, Level: 23 Points: 3,060, Level: 23 Points: 3,060, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2005
Location: , , .
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)
Reply With Quote
  #3 (permalink)  
Old September 12th, 2013, 05:06 AM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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...
Reply With Quote
  #4 (permalink)  
Old September 21st, 2013, 11:05 PM
Friend of Wrox
Points: 3,060, Level: 23
Points: 3,060, Level: 23 Points: 3,060, Level: 23 Points: 3,060, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2005
Location: , , .
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)
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Set up a schedule for running macro automatically cindyl Access 0 February 21st, 2013 03: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 11:48 AM
Updating Reference maxpotters Excel VBA 0 December 24th, 2005 04:44 AM
Set query up to automatically run in SQL server ALLA SQL Server 2000 3 October 21st, 2004 04:24 PM



All times are GMT -4. The time now is 05:56 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.