#1   Report Post  
rita
 
Posts: n/a
Default Cell formatting

I do not want the cell format to change when I add a hyperlink. Presently,
the font, colour and underscore changes whenever I add a hyperlink. As I
shall be adding links over a period of time, I do not wish to keep changing
the formatting all the time. Is there a way of avoiding having to do this?
(like how do I change the default for hyperlinks?)
  #2   Report Post  
Nick Hodge
 
Posts: n/a
Default

Rita

In later versions you can go to ToolsAuto correct options... and select the
'autoformat as you type' tab, un-checking the 'internet and network paths
with hyperlinks' entry

Other versions, hitting Ctrl+Z straight after entry (Undo). It will undo the
formatting but not the entry. Pain, but that's about all you can do

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS


"rita" wrote in message
...
I do not want the cell format to change when I add a hyperlink. Presently,
the font, colour and underscore changes whenever I add a hyperlink. As I
shall be adding links over a period of time, I do not wish to keep
changing
the formatting all the time. Is there a way of avoiding having to do this?
(like how do I change the default for hyperlinks?)



  #3   Report Post  
David McRitchie
 
Posts: n/a
Default

Ctrl+z will undo formatting and hyperlink in Excel 2000.
I don't think it would act differently in other versions.

Since the hyperlink was wanted but not the formatting the following
would work in Excel 2000. Insert the following code for the sheet you want it
applied to by right click on sheet name, view code, insert code.

Private Sub Worksheet_Change(ByVal Target As Range)
'-- hyperlink color when change is made
With Target.Font
.ColorIndex = xlAutomatic
End With
End Sub

If you want to drive people crazy (most of all yourself), you could change
the style it would apply to the entire workbook.
Format, style, stylename: hyperlink, uncheck color
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Nick Hodge" wrote in message ...
Rita

In later versions you can go to ToolsAuto correct options... and select the
'autoformat as you type' tab, un-checking the 'internet and network paths
with hyperlinks' entry

Other versions, hitting Ctrl+Z straight after entry (Undo). It will undo the
formatting but not the entry. Pain, but that's about all you can do

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS


"rita" wrote in message
...
I do not want the cell format to change when I add a hyperlink. Presently,
the font, colour and underscore changes whenever I add a hyperlink. As I
shall be adding links over a period of time, I do not wish to keep
changing
the formatting all the time. Is there a way of avoiding having to do this?
(like how do I change the default for hyperlinks?)





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM
Special cell formatting Sunshine Excel Discussion (Misc queries) 2 April 7th 05 10:05 PM
Formatting a cell to populate on a certain date Brian Excel Worksheet Functions 6 February 16th 05 02:10 AM
Conditional Formatting Cell and Row marcy Excel Worksheet Functions 1 January 20th 05 04:09 PM
Formatting dates in the future Compass Rose Excel Worksheet Functions 3 January 17th 05 10:39 PM


All times are GMT +1. The time now is 08:00 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"