Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a macro that takes information from two columns and builds a
hyperlink in another column. I'm pretty new at this, so while I was writing the macro I wrote it for one specific cell, using information from two other cells. I want to expand the macro so that it applies to every cell in the column, but I don't know how to do this. Can anyone show me how, here's what I have so far. Sub makehyperlinks() Range("E2").Select ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:="c:\test\job" & Range("B2") & "-" & Format(Range("A2"), "yyyy-mm-dd") & "TimeCard" & ".xls", TextToDisplay:="File" End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro - specific range | Excel Discussion (Misc queries) | |||
copy field settings of a field to other fields in same pivot tbl | Excel Worksheet Functions | |||
Need help - Macro to copy a specific range | Excel Worksheet Functions | |||
Need help - Macro to copy a specific range | Excel Worksheet Functions | |||
Getting a Select Range class field during a macro setup | Excel Programming |