ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Hyperlink Back (https://www.excelbanter.com/excel-programming/421436-hyperlink-back.html)

Hyperlinking Back

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 ?

Chip Pearson

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 ?


Hyperlinking Back[_2_]

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 ?



Gary''s Student

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

Hyperlinking Back[_2_]

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 ?



Hyperlinking Back[_2_]

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


Gary''s Student

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


Hyperlinking Back[_2_]

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


Cam

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


Patrick Molloy

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




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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com