Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 50
Default Hyperlink question

Hi all,

I am wondering how I can have a hyperlink added to a worksheet
automatically.

I have my project so the user can input the information the program asks
for, then it names the page based on the cell reference. What I need is a
macro to take the name of the worksheet and have the hyperlink appear in
range a1 on a worksheet called "links".

I have tried to use the recorder but it only reads from the sheet I am
currently testing. Any ideas would be great
I would post the code I have but it is very long.

Thanks
Greg


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 208
Default Hyperlink question

I am not too sure of what you are asking for but .....

the formula for hyperlink is something like "=hyperlink(link to
resource,display text)"

so if you have a variable that gets the user input, then you can write a
simple code like worksheets("name_of_sheet").range("A1").value =
"hyperlink(user_input,links)".

explain a bit further if this is not what you are asking.

"Greg" wrote:

Hi all,

I am wondering how I can have a hyperlink added to a worksheet
automatically.

I have my project so the user can input the information the program asks
for, then it names the page based on the cell reference. What I need is a
macro to take the name of the worksheet and have the hyperlink appear in
range a1 on a worksheet called "links".

I have tried to use the recorder but it only reads from the sheet I am
currently testing. Any ideas would be great
I would post the code I have but it is very long.

Thanks
Greg



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 Question Dennis Excel Discussion (Misc queries) 0 November 30th 09 07:31 PM
Hyperlink Question stew Excel Discussion (Misc queries) 2 February 28th 09 06:18 PM
hyperlink question G Excel Discussion (Misc queries) 1 October 24th 05 02:49 PM
Hyperlink Question Phil Osman Excel Discussion (Misc queries) 4 March 29th 05 03:11 AM
hyperlink question Arul Excel Worksheet Functions 2 December 3rd 04 11:46 PM


All times are GMT +1. The time now is 07:29 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"