nu har i et lille tillægs spg.
sættet denne ind sammen med?
Sub xHyper()
For Each c In Selection
If c <> "" Then
If c.Value = "001" Then ActiveSheet.Hyperlinks.Add Anchor:=c, Address:="
http://www.google.dk"
If c.Value = "002" Then ActiveSheet.Hyperlinks.Add Anchor:=c, Address:="
http://da.wikipedia.org"
If c.Value = "003" Then ActiveSheet.Hyperlinks.Add Anchor:=c, Address:="...indsæt web adr...."
'osv. osv.
End If
Next
End Sub
Sub Macro1()
'
' Macro1 Macro
'
'
ActiveWindow.SmallScroll Down:=-78
Cells.Select
With Selection.Font
.Name = "Arial"
.Size = 12
.Strikethrough = False
.Superscript = False
.Subscript = False
.OutlineFont = False
.Shadow = False
.Underline = xlUnderlineStyleNone
.TintAndShade = 0
.ThemeFont = xlThemeFontNone
End With
With Selection.Font
.ColorIndex = xlAutomatic
.TintAndShade = 0
End With
Range("C:C,I:I,J:J,P:P").Select
Range("P1").Activate
With Selection.Font
.Color = -16776961
.TintAndShade = 0
End With
End Sub