98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Auto-Hyperlinking
Auto-Hyperlinking
Resolved · 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
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
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Switch on smart tags – Excel 2007In order to use smart tags, make sure they are turned on, to do this: |