PC Review


Reply
Thread Tools Rate Thread

Create a macro (or function) to jump cells

 
 
mrlanier@hotmail.com
Guest
Posts: n/a
 
      20th Mar 2007
I hope someone has a solution for the following:

Cell A1 returns multiple values depending on a variety of conditions.
Each value returned will then create a condition causing the active
cell to jump to various cellss on the worksheet. For example, if
A1=1, the active cell might be programmed to jump to B10. If A1=2,
the active cell might jump to B15 and so forth. There could be as
many as 15 or 20 possible returns for A1. In the end, when A1=0, the
active cell must return to normal use.

Is there a relatively simple solution for this? Thanks in advance.

Michael

 
Reply With Quote
 
 
 
 
matt
Guest
Posts: n/a
 
      20th Mar 2007
On Mar 20, 9:41 am, mrlan...@hotmail.com wrote:
> I hope someone has a solution for the following:
>
> Cell A1 returns multiple values depending on a variety of conditions.
> Each value returned will then create a condition causing the active
> cell to jump to various cellss on the worksheet. For example, if
> A1=1, the active cell might be programmed to jump to B10. If A1=2,
> the active cell might jump to B15 and so forth. There could be as
> many as 15 or 20 possible returns for A1. In the end, when A1=0, the
> active cell must return to normal use.
>
> Is there a relatively simple solution for this? Thanks in advance.
>
> Michael



Michael,

I would start by looking up the following items in the Visual Basic
Editor:

GoTo Method
Select Case Statement
If...Then...Else Statement
Offset Property
ActiveCell Property

Matt



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
need to jump down 4 cells, gather data, jump another 4 digitalsaint@gmail.com Microsoft Excel Programming 2 6th Oct 2006 01:49 PM
Create a Macro to jump to next cell =?Utf-8?B?UHJvZ3JhbW1pbmcgQ2VsbHM=?= Microsoft Excel Worksheet Functions 6 12th Aug 2005 10:01 PM
How do I create an IF function to hide cells in column B IF cells. =?Utf-8?B?bmx3Mg==?= Microsoft Excel Programming 1 25th Oct 2004 06:43 PM
How do I create an IF function to hide cells in column B IF cells. =?Utf-8?B?bmx3Mg==?= Microsoft Excel Programming 0 25th Oct 2004 06:39 PM
How do I create an IF function to hide cells in column B IF cells. =?Utf-8?B?bmx3Mg==?= Microsoft Excel Programming 0 25th Oct 2004 06:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:29 AM.