Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 63
Default Create a macro (or function) to jump cells

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 73
Default Create a macro (or function) to jump cells

On Mar 20, 9:41 am, 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
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
need to jump down 4 cells, gather data, jump another 4 [email protected] Excel Programming 2 October 6th 06 01:49 PM
Create a Macro to jump to next cell Programming Cells Excel Worksheet Functions 6 August 12th 05 10:01 PM
How do I create an IF function to hide cells in column B IF cells. nlw2 Excel Programming 1 October 25th 04 06:43 PM
How do I create an IF function to hide cells in column B IF cells. nlw2 Excel Programming 0 October 25th 04 06:39 PM
How do I create an IF function to hide cells in column B IF cells. nlw2 Excel Programming 0 October 25th 04 06:39 PM


All times are GMT +1. The time now is 10:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"