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

I need to create a hyperlink that navigates back, not to a specific
sheet/cell. Is there a simple way to format the HYPERLINK command to do this ?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Hyperlink Back

"Back" to what? The previously selected cell? Worksheet? I don't think
it can be done with the HYPERLINK worksheet function, but it can
probably be done with a Hyperlink object attached to a cell.

Cordially,
Chip Pearson
Microsoft MVP
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)

On Wed, 17 Dec 2008 07:40:16 -0800, Hyperlinking Back <Hyperlinking
wrote:

I need to create a hyperlink that navigates back, not to a specific
sheet/cell. Is there a simple way to format the HYPERLINK command to do this ?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Hyperlink Back

Back to where you were before you got to where you are. I want the same
behavior as is the Web toolbar category Back command (green circle with left
arrow), also the same behavior as the Back button on your web browser,
explorer...etc. Whatever object accomplishes this (Hyperlink command, button,
marco) behavior doesn't matter but the simplest approach would be preferred.

Mike

"Chip Pearson" wrote:

"Back" to what? The previously selected cell? Worksheet? I don't think
it can be done with the HYPERLINK worksheet function, but it can
probably be done with a Hyperlink object attached to a cell.

Cordially,
Chip Pearson
Microsoft MVP
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)

On Wed, 17 Dec 2008 07:40:16 -0800, Hyperlinking Back <Hyperlinking
wrote:

I need to create a hyperlink that navigates back, not to a specific
sheet/cell. Is there a simple way to format the HYPERLINK command to do this ?


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Hyperlink Back

ALT-BACKARROW
--
Gary''s Student - gsnu200820
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Hyperlink Back

Let me clarify - I want to make it braindamaged simple for a viewer of the
worksheet to navigate back. A button or hyperlink (big bold letters saying
BACK) is what I envision.

"Hyperlinking Back" wrote:

Back to where you were before you got to where you are. I want the same
behavior as is the Web toolbar category Back command (green circle with left
arrow), also the same behavior as the Back button on your web browser,
explorer...etc. Whatever object accomplishes this (Hyperlink command, button,
marco) behavior doesn't matter but the simplest approach would be preferred.

Mike

"Chip Pearson" wrote:

"Back" to what? The previously selected cell? Worksheet? I don't think
it can be done with the HYPERLINK worksheet function, but it can
probably be done with a Hyperlink object attached to a cell.

Cordially,
Chip Pearson
Microsoft MVP
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)

On Wed, 17 Dec 2008 07:40:16 -0800, Hyperlinking Back <Hyperlinking
wrote:

I need to create a hyperlink that navigates back, not to a specific
sheet/cell. Is there a simple way to format the HYPERLINK command to do this ?




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Hyperlink Back

Yes I know that keyboard short cut but I need to make this braindamaged
simple and obvious for others. So a button or hyperlink is what I envision.

"Gary''s Student" wrote:

ALT-BACKARROW
--
Gary''s Student - gsnu200820

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Hyperlink Back

Plop any kind of button, or Picture, or ClipArt on the sheet and assign this
macro to it:

Sub goback()
Application.Goto
End Sub

This is the VBA equivalent to ALT-BACKARROW.

Alternatively, you can programmatically:

View Toolbars Web

There is a nice backarrow on this toolbar


--
Gary''s Student - gsnu200820


"Hyperlinking Back" wrote:

Yes I know that keyboard short cut but I need to make this braindamaged
simple and obvious for others. So a button or hyperlink is what I envision.

"Gary''s Student" wrote:

ALT-BACKARROW
--
Gary''s Student - gsnu200820

  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Hyperlink Back

Thanks Man !!

"Gary''s Student" wrote:

Plop any kind of button, or Picture, or ClipArt on the sheet and assign this
macro to it:

Sub goback()
Application.Goto
End Sub

This is the VBA equivalent to ALT-BACKARROW.

Alternatively, you can programmatically:

View Toolbars Web

There is a nice backarrow on this toolbar


--
Gary''s Student - gsnu200820


"Hyperlinking Back" wrote:

Yes I know that keyboard short cut but I need to make this braindamaged
simple and obvious for others. So a button or hyperlink is what I envision.

"Gary''s Student" wrote:

ALT-BACKARROW
--
Gary''s Student - gsnu200820

  #9   Report Post  
Posted to microsoft.public.excel.programming
Cam Cam is offline
external usenet poster
 
Posts: 165
Default Hyperlink Back


OK.......I've never created a macro before but........I've started the
process and I have a Module1 (Code) window up that has "(General)" to the top
left and "goBack" in the top right. Beneath is the space where the actual
application run code would be written........Right?!?!?

What do I put here? What you wrote, below?
Sub goback()
Application.Goto
End Sub

Shouldn't I put something else like in the parens?

This is fun!

CAM


"Gary''s Student" wrote:

Plop any kind of button, or Picture, or ClipArt on the sheet and assign this
macro to it:

Sub goback()
Application.Goto
End Sub

This is the VBA equivalent to ALT-BACKARROW.

Alternatively, you can programmatically:

View Toolbars Web

There is a nice backarrow on this toolbar


--
Gary''s Student - gsnu200820


"Hyperlinking Back" wrote:

Yes I know that keyboard short cut but I need to make this braindamaged
simple and obvious for others. So a button or hyperlink is what I envision.

"Gary''s Student" wrote:

ALT-BACKARROW
--
Gary''s Student - gsnu200820

  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,049
Default Hyperlink Back


you have the correct code module
"Application.Goto" reverses a goto if you will, so long as there was one,
otherwise it errors

to test:
so paste the code. select a cell on the sheet. hit F5 and use the goto to go
to another cell, then run the code -- you'll see the original cell is now
selected

Sub goback()
on error resume next
Application.Goto
on error goto 0
End Sub

"CAM" wrote in message
...
OK.......I've never created a macro before but........I've started the
process and I have a Module1 (Code) window up that has "(General)" to the
top
left and "goBack" in the top right. Beneath is the space where the actual
application run code would be written........Right?!?!?

What do I put here? What you wrote, below?
Sub goback()
Application.Goto
End Sub

Shouldn't I put something else like in the parens?

This is fun!

CAM


"Gary''s Student" wrote:

Plop any kind of button, or Picture, or ClipArt on the sheet and assign
this
macro to it:

Sub goback()
Application.Goto
End Sub

This is the VBA equivalent to ALT-BACKARROW.

Alternatively, you can programmatically:

View Toolbars Web

There is a nice backarrow on this toolbar


--
Gary''s Student - gsnu200820


"Hyperlinking Back" wrote:

Yes I know that keyboard short cut but I need to make this braindamaged
simple and obvious for others. So a button or hyperlink is what I
envision.

"Gary''s Student" wrote:

ALT-BACKARROW
--
Gary''s Student - gsnu200820


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
how do i go back from a hyperlink ? Ed lee Excel Discussion (Misc queries) 1 January 17th 07 05:19 PM
Going back from a hyperlink when it has changed to another workboo Mogge Excel Discussion (Misc queries) 0 August 28th 06 09:03 AM
hyperlink: back to last worksheet my Excel Worksheet Functions 1 August 9th 06 08:25 PM
automatically close hyperlink with back button Holly Williams Excel Worksheet Functions 2 September 20th 05 02:10 PM
How to revert back to the original file name in a hyperlink VIPIN Excel Discussion (Misc queries) 0 April 17th 05 08:44 AM


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