Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default hyperlinks-changing the filename only!

Hi
if you put your filename in cell D1 use the following formula in cell
A1:
=HYPERLINK(D1 & "may_folder!$a$1")
if you really want a hyperlink (and not just a transfer of the cell
value.

--
Regards
Frank Kabel
Frankfurt, Germany


gr8guy wrote:
Hi,

Is it possible to create a macro which will change the name of the
workbook file("eijaz.xls"), in a hyperlink formula, to some other
workbook names i feed to the macro (through some input box), for a
given range(which i can specify through again, input box)?

e.g:
the link would be something like this:
A
B C
='["eijaz.xls"]may_folder!$a$1 ='["eijaz.xls"]may_folder!$b$1
='["eijaz.xls"]may_folder!$c$1
='["eijaz.xls"]may_folder!$a$2 ='["eijaz.xls"]may_folder!$b$2
='["eijaz.xls"]may_folder!$c$2
='["eijaz.xls"]may_folder!$a$3 ='["eijaz.xls"]may_folder!$b$3
='["eijaz.xls"]may_folder!$c$3
='["eijaz.xls"]may_folder!$a$4 ='["eijaz.xls"]may_folder!$b$4
='["eijaz.xls"]may_folder!$c$4
='["eijaz.xls"]may_folder!$a$5 ='["eijaz.xls"]may_folder!$b$5
='["eijaz.xls"]may_folder!$c$5

here, i want to change only the name of the file to some other name
say, "zaki.xls", so the same name will get entered in the hyperlink
for the whole range.

how can it be done?

Rgds,

Eijaz


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default hyperlinks-changing the filename only!

Hi,

Is it possible to create a macro which will change the name of the workbook file("eijaz.xls"), in a hyperlink formula, to some other workbook names i feed to the macro (through some input box), for a given range(which i can specify through again, input box)?

e.g:
the link would be something like this:
A B C
='["eijaz.xls"]may_folder!$a$1 ='["eijaz.xls"]may_folder!$b$1 ='["eijaz.xls"]may_folder!$c$1
='["eijaz.xls"]may_folder!$a$2 ='["eijaz.xls"]may_folder!$b$2 ='["eijaz.xls"]may_folder!$c$2
='["eijaz.xls"]may_folder!$a$3 ='["eijaz.xls"]may_folder!$b$3 ='["eijaz.xls"]may_folder!$c$3
='["eijaz.xls"]may_folder!$a$4 ='["eijaz.xls"]may_folder!$b$4 ='["eijaz.xls"]may_folder!$c$4
='["eijaz.xls"]may_folder!$a$5 ='["eijaz.xls"]may_folder!$b$5 ='["eijaz.xls"]may_folder!$c$5

here, i want to change only the name of the file to some other name say, "zaki.xls", so the same name will get entered in the hyperlink for the whole range.

how can it be done?

Rgds,

Eijaz

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default hyperlinks-changing the filename only!

Hi,

I just figured out that i can use the Excel Edit Menu Replace option!

Rgds,

Eijaz

"Frank Kabel" wrote in message
...
Hi
if you put your filename in cell D1 use the following formula in cell
A1:
=HYPERLINK(D1 & "may_folder!$a$1")
if you really want a hyperlink (and not just a transfer of the cell
value.

--
Regards
Frank Kabel
Frankfurt, Germany


gr8guy wrote:
Hi,

Is it possible to create a macro which will change the name of the
workbook file("eijaz.xls"), in a hyperlink formula, to some other
workbook names i feed to the macro (through some input box), for a
given range(which i can specify through again, input box)?

e.g:
the link would be something like this:
A
B C
='["eijaz.xls"]may_folder!$a$1 ='["eijaz.xls"]may_folder!$b$1
='["eijaz.xls"]may_folder!$c$1
='["eijaz.xls"]may_folder!$a$2 ='["eijaz.xls"]may_folder!$b$2
='["eijaz.xls"]may_folder!$c$2
='["eijaz.xls"]may_folder!$a$3 ='["eijaz.xls"]may_folder!$b$3
='["eijaz.xls"]may_folder!$c$3
='["eijaz.xls"]may_folder!$a$4 ='["eijaz.xls"]may_folder!$b$4
='["eijaz.xls"]may_folder!$c$4
='["eijaz.xls"]may_folder!$a$5 ='["eijaz.xls"]may_folder!$b$5
='["eijaz.xls"]may_folder!$c$5

here, i want to change only the name of the file to some other name
say, "zaki.xls", so the same name will get entered in the hyperlink
for the whole range.

how can it be done?

Rgds,

Eijaz




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default hyperlinks-changing the filename only!

Hi,

Is it possible to create a macro which will change the name of the workbook
file("eijaz.xls"), in a hyperlink formula, to some other workbook names i
feed to the macro (through some input box), for a given range(which i can
specify through again, input box)?

e.g:
the link would be something like this:
A B
C
='["eijaz.xls"]may_folder!$a$1 ='["eijaz.xls"]may_folder!$b$1
='["eijaz.xls"]may_folder!$c$1
='["eijaz.xls"]may_folder!$a$2 ='["eijaz.xls"]may_folder!$b$2
='["eijaz.xls"]may_folder!$c$2
='["eijaz.xls"]may_folder!$a$3 ='["eijaz.xls"]may_folder!$b$3
='["eijaz.xls"]may_folder!$c$3
='["eijaz.xls"]may_folder!$a$4 ='["eijaz.xls"]may_folder!$b$4
='["eijaz.xls"]may_folder!$c$4
='["eijaz.xls"]may_folder!$a$5 ='["eijaz.xls"]may_folder!$b$5
='["eijaz.xls"]may_folder!$c$5

here, i want to change only the name of the file to some other name say,
"zaki.xls", so the same name will get entered in the hyperlink for the whole
range.

how can it be done?

Rgds,

Eijaz


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default hyperlinks-changing the filename only!


I've just finished rewriting an addin called Synkronizer which
uses this technique for its reports.

Please download Synkronizer from www.synkronizer.com ,
run a report on multiple worksheets.. then have a look at the way the
hyperlinks are constructed in the report.

The coding involves :
a name object for the target book's fullname
stored in a cell
fullname1
a series of name objects for the target's sheetnames
linkpath1
="["&fullname1&"]# 'sheet name x'!"

final formulas can then be inserted which look like this:
=HYPERLINK(linkpath1001&"D5";"D5")

succes.





keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


"gr8guy" wrote:

Hi,

Is it possible to create a macro which will change the name of the
workbook file("eijaz.xls"), in a hyperlink formula, to some other
workbook names i feed to the macro (through some input box), for a
given range(which i can specify through again, input box)?

e.g:
the link would be something like this:
A
B
C
='["eijaz.xls"]may_folder!$a$1 ='["eijaz.xls"]may_folder!$b$1
='["eijaz.xls"]may_folder!$c$1
='["eijaz.xls"]may_folder!$a$2 ='["eijaz.xls"]may_folder!$b$2
='["eijaz.xls"]may_folder!$c$2
='["eijaz.xls"]may_folder!$a$3 ='["eijaz.xls"]may_folder!$b$3
='["eijaz.xls"]may_folder!$c$3
='["eijaz.xls"]may_folder!$a$4 ='["eijaz.xls"]may_folder!$b$4
='["eijaz.xls"]may_folder!$c$4
='["eijaz.xls"]may_folder!$a$5 ='["eijaz.xls"]may_folder!$b$5
='["eijaz.xls"]may_folder!$c$5

here, i want to change only the name of the file to some other name
say, "zaki.xls", so the same name will get entered in the hyperlink
for the whole range.

how can it be done?

Rgds,

Eijaz




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
changing the filename in a Link Ben Excel Discussion (Misc queries) 1 August 12th 09 04:20 PM
Hyperlinks keep changing Cadwan Excel Discussion (Misc queries) 0 May 11th 07 07:32 PM
Dynamic Hyperlinks - Changing Folders and Filename Philip J Smith Excel Worksheet Functions 0 April 18th 07 12:24 PM
link to other workbook with changing filename DN Excel Worksheet Functions 6 August 30th 06 06:44 PM
Changing Filename when linked to other worksheets Amanda Excel Discussion (Misc queries) 1 October 25th 05 06:06 AM


All times are GMT +1. The time now is 05:56 AM.

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"