T
tuli
Hello,
I have an excel file that it is opened every time I open excel (let’s
call it PERSONAL.xls). In it, I keep many macros that I frequently
use.
I still have to learn how to have the macros in this file operate in
any other file that I open.
For example I have this macro in the PERSONAL.xls. It supposed to
create a link form the text in the cell (The file is a collection of
search results).
Sub Insert_Link()
For I = 1 To 1000
R$ = Str$(I)
a$ = Cells(2, R$).Value
Sheet1.Range(a$).Select
ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:=a$,
TextToDisplay:=a$
Next I
End Sub
When I open the search results file, I would like to use this macro
(which resaides in PERSONAL.xls). Somehow I must miss to correctly
define to object.
Any ideas?
Thanks
Tuli
I have an excel file that it is opened every time I open excel (let’s
call it PERSONAL.xls). In it, I keep many macros that I frequently
use.
I still have to learn how to have the macros in this file operate in
any other file that I open.
For example I have this macro in the PERSONAL.xls. It supposed to
create a link form the text in the cell (The file is a collection of
search results).
Sub Insert_Link()
For I = 1 To 1000
R$ = Str$(I)
a$ = Cells(2, R$).Value
Sheet1.Range(a$).Select
ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:=a$,
TextToDisplay:=a$
Next I
End Sub
When I open the search results file, I would like to use this macro
(which resaides in PERSONAL.xls). Somehow I must miss to correctly
define to object.
Any ideas?
Thanks
Tuli