Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

autohyperlinking

ResolvedVersion 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:

Colouring cells containing formulas

Cells in a worksheet can contain values or they can contain formulas. You may wish to identify all the cells in your worksheet that contain formulas by colouring those cells.

Follow these steps:
1. Choose Edit > Go To menu, or press either F5 or Ctrl+G. Excel displays the Go To dialog box.
2. Click Special. Excel displays the Go To Special dialog box.
3. Select the Formulas radio button option.
4. Select OK.

At this point, every formula cell in the worksheet is selected, and those cells can be coloured formatted as desired.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.