Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default Goto Reference:="abc" where abc is formula result

Hi!

In this macro ....Application.Goto Reference:="tab abc"
where "tab abc" equals the results of the formula in cell a1 which is
subject to change. I want to goto location specified by the formula in cell
A1.

For example if cell A1 formula result = equity1
When I run this macro I want to goto tab "equity1"
If cell A1 formula result = fixed2, then I want to go to tab fixed2...



Thank you.

Orlando


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default Goto Reference:="abc" where abc is formula result

You should be able to do it this way...

Worksheets(Range("A1").Value).Activate

--
Rick (MVP - Excel)


"ORLANDO VAZQUEZ" wrote in
message ...
Hi!

In this macro ....Application.Goto Reference:="tab abc"
where "tab abc" equals the results of the formula in cell a1 which is
subject to change. I want to goto location specified by the formula in
cell
A1.

For example if cell A1 formula result = equity1
When I run this macro I want to goto tab "equity1"
If cell A1 formula result = fixed2, then I want to go to tab fixed2...



Thank you.

Orlando



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default Goto Reference:="abc" where abc is formula result

Works great. Thank you!

--
Orlando Vazquez


"Rick Rothstein" wrote:

You should be able to do it this way...

Worksheets(Range("A1").Value).Activate

--
Rick (MVP - Excel)


"ORLANDO VAZQUEZ" wrote in
message ...
Hi!

In this macro ....Application.Goto Reference:="tab abc"
where "tab abc" equals the results of the formula in cell a1 which is
subject to change. I want to goto location specified by the formula in
cell
A1.

For example if cell A1 formula result = equity1
When I run this macro I want to goto tab "equity1"
If cell A1 formula result = fixed2, then I want to go to tab fixed2...



Thank you.

Orlando




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default Goto Reference:="abc" where abc is formula result

Rick
Can I ask an auxilliary question:

Can I make this macro more specific, say, go to the row and column in that
specificed in the formula in that cell? (As opposed to just going to the
worksheet)


Thanks.
Orlando

--
Orlando Vazquez


"Rick Rothstein" wrote:

You should be able to do it this way...

Worksheets(Range("A1").Value).Activate

--
Rick (MVP - Excel)


"ORLANDO VAZQUEZ" wrote in
message ...
Hi!

In this macro ....Application.Goto Reference:="tab abc"
where "tab abc" equals the results of the formula in cell a1 which is
subject to change. I want to goto location specified by the formula in
cell
A1.

For example if cell A1 formula result = equity1
When I run this macro I want to goto tab "equity1"
If cell A1 formula result = fixed2, then I want to go to tab fixed2...



Thank you.

Orlando




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Goto Reference:="abc" where abc is formula result

Check your other post, too.

ORLANDO VAZQUEZ wrote:

Hi!

In this macro ....Application.Goto Reference:="tab abc"
where "tab abc" equals the results of the formula in cell a1 which is
subject to change. I want to goto location specified by the formula in cell
A1.

For example if cell A1 formula result = equity1
When I run this macro I want to goto tab "equity1"
If cell A1 formula result = fixed2, then I want to go to tab fixed2...

Thank you.

Orlando


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default Goto Reference:="abc" where abc is formula result

I think you will have to give an example of the formula. My main concern is
if there is more than one cell referenced or if a cell range is referenced;
but I would also like to see the type of formula you are talking about so I
can see where in the formula the cell reference is at.

--
Rick (MVP - Excel)


"ORLANDO VAZQUEZ" wrote in
message ...
Rick
Can I ask an auxilliary question:

Can I make this macro more specific, say, go to the row and column in that
specificed in the formula in that cell? (As opposed to just going to the
worksheet)


Thanks.
Orlando

--
Orlando Vazquez


"Rick Rothstein" wrote:

You should be able to do it this way...

Worksheets(Range("A1").Value).Activate

--
Rick (MVP - Excel)


"ORLANDO VAZQUEZ" wrote in
message ...
Hi!

In this macro ....Application.Goto Reference:="tab abc"
where "tab abc" equals the results of the formula in cell a1 which is
subject to change. I want to goto location specified by the formula in
cell
A1.

For example if cell A1 formula result = equity1
When I run this macro I want to goto tab "equity1"
If cell A1 formula result = fixed2, then I want to go to tab fixed2...



Thank you.

Orlando





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
Formula Result is "V6", need Excel to use cell "V6", not the resul Erik Excel Worksheet Functions 3 September 5th 08 03:10 PM
Mult formula cell displays "0", which formula created result? Reveal which formula causing true result Excel Worksheet Functions 3 May 24th 08 04:16 PM
Application.Goto Reference:="ActiveCell.Value"??? Whats wrong?? [email protected] Excel Programming 13 July 12th 06 11:47 AM
If changed array formula reduce ""\""\""\ - signs to #Missing, will it make ... Maria J-son[_2_] Excel Programming 2 March 5th 06 12:20 PM
Application.Goto reference:="MyCell" akyhne[_2_] Excel Programming 1 August 16th 05 12:30 PM


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