Default behavior of hyperlink checkbox in Insert cross reference check box 
Author Message
 Default behavior of hyperlink checkbox in Insert cross reference check box

1. Is there a way to turn off the checked insert as hyperlink box in the
registry so that it is unchecked by default?

2. Is there a way to have hyperlinked cross references be inserted so they
look like real hyperlinks - blue text so that they look the same as normal
hyperlinks inserted w/ctrl K?



Mon, 17 Jun 2002 03:00:00 GMT  
 Default behavior of hyperlink checkbox in Insert cross reference check box
2. You can format them with the Hyperlink character style.

--
Suzanne S. Barnhill
Microsoft Word MVP
Words into Type
Fairhope, AL USA


Quote:
> 1. Is there a way to turn off the checked insert as hyperlink box in the
> registry so that it is unchecked by default?

> 2. Is there a way to have hyperlinked cross references be inserted so they
> look like real hyperlinks - blue text so that they look the same as normal
> hyperlinks inserted w/ctrl K?



Mon, 17 Jun 2002 03:00:00 GMT  
 Default behavior of hyperlink checkbox in Insert cross reference check box
Hi Richard,

Quote:
> 1. Is there a way to turn off the checked insert as hyperlink box in the
> registry so that it is unchecked by default?

No, but you could display the dialog box with this preset:

Sub InsertCrossReference()
    With Dialogs(wdDialogInsertCrossReference)
        .InsertAsHyperLink = False
        .Show
    End With
End Sub

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister
http://go.compuserve.com/MSOfficeForum

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)



Tue, 18 Jun 2002 03:00:00 GMT  
 Default behavior of hyperlink checkbox in Insert cross reference check box
Thank you for this information.  Would the vba code below be part of a macro
that you would attach to a key or button? I haven't yet ventured into the
world of vba yet.



Quote:
> Hi Richard,

> > 1. Is there a way to turn off the checked insert as hyperlink box in the
> > registry so that it is unchecked by default?

> No, but you could display the dialog box with this preset:

> Sub InsertCrossReference()
>     With Dialogs(wdDialogInsertCrossReference)
>         .InsertAsHyperLink = False
>         .Show
>     End With
> End Sub

> Cindy Meister
> INTER-Solutions, Switzerland
> http://homepage.swissonline.ch/cindymeister
> http://go.compuserve.com/MSOfficeForum

> This reply is posted in the Newsgroup; please post any follow question or
> reply in the newsgroup and not by e-mail :-)



Tue, 18 Jun 2002 03:00:00 GMT  
 Default behavior of hyperlink checkbox in Insert cross reference check box
Hi Richard,

Quote:
> Would the vba code below be part of a macro
> that you would attach to a key or button?

As it stands, it will replace the built-in Insert/Cross Reference on
your menu (because it has the same name). Just copy/paste into a module
in your Normal.dot or any other global template.

If you do NOT want it to replace the built-in command, rename it
(MyInsertXRef, for example), then use Tools/Customize to assign it to
any command bar or keyboard shortcut you like.

In order to copy/paste (since you mention you're new to this): In Word,
press Alt+F11 to open the Visual Basic Editor. In the "Project" window,
click on "Normal". If you already have a module, double-click on it to
display the code window; otherwise, Insert/Module to create a new one.
Copy the code from my message and paste into the code window.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister
http://go.compuserve.com/MSOfficeForum

This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :-)



Wed, 19 Jun 2002 03:00:00 GMT  
 Default behavior of hyperlink checkbox in Insert cross reference check box
I imported the file I downloaded from your article,  basBookmarks.bas, into
the Normal template using VBA w/in Word 2000. BasBookmarks is now listed as
module w/in normal with all of your Code.  The macros are all listed when
you press Alt F8, but the Insert/Cross Reference seems unchanged and I could
only get a couple of the macros to work by themselves (next and prev
paragraph).  Anything else I should have done or didn't do correctly.



Quote:
> Hi Richard,

> > Would the vba code below be part of a macro
> > that you would attach to a key or button?

> As it stands, it will replace the built-in Insert/Cross Reference on
> your menu (because it has the same name). Just copy/paste into a module
> in your Normal.dot or any other global template.

> If you do NOT want it to replace the built-in command, rename it
> (MyInsertXRef, for example), then use Tools/Customize to assign it to
> any command bar or keyboard shortcut you like.

> In order to copy/paste (since you mention you're new to this): In Word,
> press Alt+F11 to open the Visual Basic Editor. In the "Project" window,
> click on "Normal". If you already have a module, double-click on it to
> display the code window; otherwise, Insert/Module to create a new one.
> Copy the code from my message and paste into the code window.

> Cindy Meister
> INTER-Solutions, Switzerland
> http://homepage.swissonline.ch/cindymeister
> http://go.compuserve.com/MSOfficeForum

> This reply is posted in the Newsgroup; please post any follow question
> or reply in the newsgroup and not by e-mail :-)



Thu, 20 Jun 2002 03:00:00 GMT  
 Default behavior of hyperlink checkbox in Insert cross reference check box
Hi Richard,

Quote:
> I could
> only get a couple of the macros to work by themselves (next and prev
> paragraph).  Anything else I should have done or didn't do correctly.

Anything that starts with SUB, or requires parameters, must be called
from another procedure. Many of the things you find in such articles
are FUNCTIONS that you call from another procedure; or they have
parameters (information you have to give it so that the procedure
functions correctly). Let's take as an example the code to bookmark
chapters. This is a function, and has two parameters. So you need to
create a procedure that calls this:

Sub BookmarkReportChapters()
    Dim NrChapters as Long    

    NrChapters = BookmarkChapters("Report Heading 1", "RptChap")
    MsgBox "This report has " & CStr(NrChapters) & " chapters"
End Sub

In this way, you aren't limited to any style or bookmark name, as you
would be if they were hard-coded; this makes the procedure much more
flexible.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister
http://go.compuserve.com/MSOfficeForum

This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :-)



Sun, 30 Jun 2002 03:00:00 GMT  
 
 [ 7 post ] 

 Relevant Pages 

1. Hyperlink Bookmark Cross Reference Inserts Text not Jump.

2. Setting defaults for Insert Cross Reference Dialog

3. Cross-Referencing to a check-box form field.

4. Cross-referencing and reference-checking software needed

5. Change default path for Insert Hyperlink dialog box?

6. Checkboxes do not cross reference

7. Cross-reference to checkboxes?

8. Convert Cross-references to HTML Hyperlinks

9. Word XP Underline Hyperlink Cross Reference

10. Convert Cross-references to HTML Hyperlinks


 
Powered by phpBB® Forum Software © phpBB Group