#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default "Dynamic" hyperlink

I have to create a large wb with one sheet per day named actual dates. On the
front page i need a cell to put the desired sheet (by entering date) to go
to. I'm thinking a cell to enter date and a "Go to" button. Is this possible?

PS! I'm not familiar with macros
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default "Dynamic" hyperlink

Hello again Jacob.

I'm afraid that did not work. I should probably infirm you that I use Excel
2003. I tried changing the ,'s in the formula with ;'s but it still does'nt
work. Cell A2 returns blank and nothing happens when i click it (There seems
to be a link judging by pointer changing format)

Jacob Skaria skrev:

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default "Dynamic" hyperlink

Sorry, it actually returns #Name? after I Changed , for ;
Returned nothing before I did those changes
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default "Dynamic" hyperlink

Try the below.

--In cell A1 enter the date (excel date/time format)
--In cell B1 enter the below formula.
--The sheet names are assumed to be in the format mmddyyyyy eg:
11112009,11122009,11132009.. Change the format to suit in the formula...
--A link will appear only if there is a valid sheet name in cell A1.


=IF(ISERROR(CELL("address",INDIRECT( "'" &
TEXT(A1,"mmddyyyy") & "'!A1"))),"",HYPERLINK("#" & CELL("address",
INDIRECT( "'" & TEXT(A1,"mmddyyyy") & "'!A1")),"Clickme"))

If this post helps click Yes
---------------
Jacob Skaria


"Espen Rostad" wrote:

I have to create a large wb with one sheet per day named actual dates. On the
front page i need a cell to put the desired sheet (by entering date) to go
to. I'm thinking a cell to enter date and a "Go to" button. Is this possible?

PS! I'm not familiar with macros

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default "Dynamic" hyperlink

Just try the below and let me know where you are having issues..

'to return the address of A1
=Cell("address",A1)

Create a sheet named 11112009 and try
=Cell("address", INDIRECT(TEXT(TODAY(),"mmddyyyy") & "!A1")))

Try the below which should create a hyperlink. referring to the date sheet
=HYPERLINK("#" &
CELL("address",INDIRECT(TEXT(TODAY(),"mmddyyyy")&" !A1")),"Click me")

The eearlier formula handles the error and returns the link..If error it
returns blank

If this post helps click Yes
---------------
Jacob Skaria


"Espen Rostad" wrote:

Sorry, it actually returns #Name? after I Changed , for ;
Returned nothing before I did those changes



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default "Dynamic" hyperlink

'to return the address of A1
=Cell("address",A1) - returns $A$1


Create a sheet named 11112009 and try
=Cell("address", INDIRECT(TEXT(TODAY(),"mmddyyyy") & "!A1")))
- returns '[Book3]11112009'!$A$1

The last formula creates a link that sends med to sheet 11112009
Jacob Skaria skrev:
  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default "Dynamic" hyperlink

OK. Good. Now in cell A1 enter a date and replace the date mentioned in the
formula to that cell

=HYPERLINK("#" &
CELL("address",INDIRECT(TEXT(A1,"mmddyyyy")&"!A1") ),"Click me")

If the above works then try

=IF(ISERROR(CELL("address",INDIRECT(TEXT(A1,"mmddy yyy")&"!A1"))),"",
HYPERLINK("#" &
CELL("address",INDIRECT(TEXT(A1,"mmddyyyy")&"!A1") ),"Click me"))

If this post helps click Yes
---------------
Jacob Skaria


"Espen Rostad" wrote:

'to return the address of A1
=Cell("address",A1) - returns $A$1


Create a sheet named 11112009 and try
=Cell("address", INDIRECT(TEXT(TODAY(),"mmddyyyy") & "!A1")))
- returns '[Book3]11112009'!$A$1

The last formula creates a link that sends med to sheet 11112009
Jacob Skaria skrev:

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default "Dynamic" hyperlink

Fantastic :) They both work just fine! What's the difference, and which
should I use?

Thank you so much, you are my personal oracle ;)

Jacob Skaria skrev:
  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default "Dynamic" hyperlink

<<On the front page i need a cell to put the desired sheet (by entering date)
to go
<<to. I'm thinking a cell to enter date and a "Go to" button. Is this possi

The error handled one..(and no need to have a 'Goto' button) instead you
change the text displayed as 'Go to' instead of 'Click me'

If this post helps click Yes
---------------
Jacob Skaria


"Espen Rostad" wrote:

Fantastic :) They both work just fine! What's the difference, and which
should I use?

Thank you so much, you are my personal oracle ;)

Jacob Skaria skrev:

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
=HYPERLINK("#"&CELL("address", ADDRESS(MATCH(VALUE(B3),QuoteNotes, sarah Excel Worksheet Functions 2 February 17th 09 02:59 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM


All times are GMT +1. The time now is 11:02 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"