Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / March 2006

Tip: Looking for answers? Try searching our database.

Showing CrossReference Dialog with parameters

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michael - 17 Mar 2006 20:46 GMT
Hi,

to avoid the clicking in the word insert->crossref dialog, i want to have
some macros for displaying this dialog with some parameters already specified.

But although i spent hours, i have not managed to get set the right
parameters before showing this dialog. Even worse, the problem is that *some*
parameters work, for example the InsertAsHyperlink parameter works perfectly
well.
But the others not, including the ReferenceKind and ReferenceType (the later
sometimes works, sometimes not).

How can i shorten the way to insert different crossrefs, without to specify
over and over again the parameters for each crossref-type manually in words
dialog?

Many thanks in advance!

Michael.

' attempt of showing a pre-configured crossref dialog
Public Sub insertFigure()
   With Dialogs(wdDialogInsertCrossReference)
       .ReferenceType = "Abbildung"
       .ReferenceKind = wdOnlyLabelAndNumber
       .InsertAsHyperlink = True
       .InsertPosition = False
       .SeparateNumbers = False
       .SeparatorCharacters = " "
       .Show
   End With
End Sub
Word Heretic - 21 Mar 2006 15:32 GMT
G'day Michael <Michael@discussions.microsoft.com>,

I screamed in despair and recreated the entire dialog from scratch to
achieve this result.

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice

Michael reckoned:

>Hi,
>
[quoted text clipped - 28 lines]
>    End With
>End Sub
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.