Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a macro which converts urls in a column to the words "Tax Record" but
the macro will not work. I would appreicate any help I can get. The Marco is: Sub chngelink() ' ' chngelink Macro ' ' Keyboard Shortcut: Ctrl+z Sub ChangelinkT() Dim MyCol As String Dim MySht As String On Error Resume Next MyCol = InputBox("Enter column LETTER(S)") MySht = InputBox("Enter sheet name") Lastrow = Sheets(MySht).Cells(Cells.Rows.Count, MyCol).End(xlUp).Row For Each c In Sheets(MySht).Range(MyCol & "2:" & MyCol & Lastrow) c.Hyperlinks(1).TextToDisplay = "Tax record" Next End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to update a column in a work based on another work sheet | New Users to Excel | |||
Macro works Macro does not work | Excel Discussion (Misc queries) | |||
Why Won't This Macro Work? | Excel Discussion (Misc queries) | |||
how to get a macro to work | Excel Discussion (Misc queries) | |||
how do you get (end down) to work in a macro? | Excel Worksheet Functions |