title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Application.AutoFormatAsYouTypeReplaceHyperlinks property (Excel) |
vbaxl10.chm133281 |
|
|
92c02556-f39a-7ca4-31f5-88a5c9da12ea |
04/04/2019 |
medium |
True (default) if Microsoft Excel automatically formats hyperlinks as you type. False if Excel does not automatically format hyperlinks as you type. Read/write Boolean.
expression.AutoFormatAsYouTypeReplaceHyperlinks
expression A variable that represents an Application object.
In this example, Microsoft Excel determines if the ability to format hyperlinks automatically as they are typed is enabled, and notifies the user.
Sub CheckHyperlinks()
' Determine if automatic formatting is enabled and notify user.
If Application.AutoFormatAsYouTypeReplaceHyperlinks = True Then
MsgBox "Automatic formatting for typing in hyperlinks is enabled."
Else
MsgBox "Automatic formatting for typing in hyperlinks is not enabled."
End If
End Sub
[!includeSupport and feedback]