Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
swatsley
 
Posts: n/a
Default Activating a Hyperlink W/O using the mouse


I have a massive file which contains many sheets and i have one summary
sheet with a column of hyperlinks which reference each sheet separately.

Since i continually strive to not use my mouse, i bugs me to have to grab
the mouse solely to activate a sheet. all of my work is done in rows, can i
write a macro to move the courser to the left cell where the hyperlink is
and activate the sheet relating to the row i'm on? or does anyone know how
i can activate the Hyperlink if i move the courser there myself.

Happy Friday and thanks in advance!!


  #2   Report Post  
PCLIVE
 
Posts: n/a
Default


When on the hyperlinked cell, try pressing enter.

HTH,
Paul

"swatsley" wrote in message
...

I have a massive file which contains many sheets and i have one summary
sheet with a column of hyperlinks which reference each sheet separately.

Since i continually strive to not use my mouse, i bugs me to have to grab
the mouse solely to activate a sheet. all of my work is done in rows, can
i
write a macro to move the courser to the left cell where the hyperlink is
and activate the sheet relating to the row i'm on? or does anyone know
how
i can activate the Hyperlink if i move the courser there myself.

Happy Friday and thanks in advance!!




  #3   Report Post  
PCLIVE
 
Posts: n/a
Default

As for a macro, you could try something like:

__________________________
Sub ActivateCellinCurrentRow()
'
Range("B" & ActiveCell.Row).Select
Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True

End Sub
____________________________

I'm assuming your link in the "left cell" is always in the same column. If
so, inthe macro above "B" is the column containing the link. If there is no
link in that column when the macro is executed, you will get an error.

Good luck.
Paul


"swatsley" wrote in message
...

I have a massive file which contains many sheets and i have one summary
sheet with a column of hyperlinks which reference each sheet separately.

Since i continually strive to not use my mouse, i bugs me to have to grab
the mouse solely to activate a sheet. all of my work is done in rows, can
i
write a macro to move the courser to the left cell where the hyperlink is
and activate the sheet relating to the row i'm on? or does anyone know
how
i can activate the Hyperlink if i move the courser there myself.

Happy Friday and thanks in advance!!




  #4   Report Post  
Bill Manville
 
Posts: n/a
Default

I don't think Enter works - it doesn't for me anyway.
But Shortcut menu key+O does work

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup

  #5   Report Post  
swatsley
 
Posts: n/a
Default

Gosh, thank you so much!!

It took me a minute to figure out which key you were referring, but i
appreciate it! I've done a few seaches and wasn't albe to locate it.


"Bill Manville" wrote in message
...
I don't think Enter works - it doesn't for me anyway.
But Shortcut menu key+O does work

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup



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
Mouse continues to select after clicking on a cell in excel. Fletch Excel Discussion (Misc queries) 4 February 22nd 05 02:27 AM
moving mouse lighlights cells brentb Excel Discussion (Misc queries) 1 January 17th 05 06:36 PM
moving mouse highlights cells. why? brentb Excel Discussion (Misc queries) 1 January 17th 05 05:34 PM
Hyperlink Length Jason Excel Worksheet Functions 0 January 14th 05 05:49 PM
Removing hyperlink Frank Marousek Excel Discussion (Misc queries) 3 January 12th 05 09:53 PM


All times are GMT +1. The time now is 09:39 PM.

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"