autohyperlinking

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Auto-Hyperlinking

Auto-Hyperlinking

resolvedResolved · Low Priority · Version 2010

Rhys has attended:
Excel VBA Advanced course

Auto-Hyperlinking

Hello

I am currently having some issues with the fact that Excel auto-hyperlinks when entering the string "ftp" in a cell.

I am able to sort this outside of VBA by going to File >> Options >> Proofing >> AutoCorrect Options and unchecking the "Internet and network paths with hyperlinks" selection.

But since colleagues will also be using this document I would like this to be done automatically when opening the Workbook. I have tried recording a macro while doing this but it proved unhelpful.

Does anyone know of any vb code to do this?

Thanks
Rhys

RE: Auto-Hyperlinking

Hi Rhys

As you say you can turn off the Auto hyperlink option manually for Excel with File, Options, Proofing, AutoCorrect Options.

You will need to write a VBA script to do this automatically when a workbook opens. See the link

http://www.techrepublic.com/article/prevent-the-automatic-creation-of-hyperlinks-in-microsoft-excel/ #

The article also suggests an alternative is to include the label prefix ' to prevent automatically formatting as a hyperlink.

Regards
Doug Dunn
Best STL


RE: Auto-Hyperlinking

Will give it a try - thanks for your help

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Switch on smart tags – Excel 2007

In order to use smart tags, make sure they are turned on, to do this:
1. Click on ‘Microsoft Office‘ button and then click on ‘Excel Options‘.
2. Click on ‘Proofing‘ category and then click on ‘Auto Correct Options‘.
3. In the ‘Auto Correct‘ dialogue box appears, click the ‘Smart Tags‘ Tab.
4. Tick the boxes, next to the Smart Tags you wish to use in Excel

View all Excel hints and tips


Server loaded in 0.08 secs.