Re: macro row movement

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



But be careful when you set an offset that you have room to reference that
offset. For instance, if B2 is the activecell, Offset(-2,0) will throw an
error.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Gord Dibben" <gorddibbATshawDOTca> wrote in message
news:emua64t8ka9c258p7mh7l7ibob254f9269@xxxxxxxxxx
Yes

-3 would move up 3 rows.

The 0 is the column designation in the Offset(3, 0)

Offset(0, 3) is same row, 3 columns to right.


Gord Dibben MS Excel MVP

On Fri, 27 Jun 2008 09:28:03 -0700, inflnow
<inflnow@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:

Bob, you're the best. You saved me 2 weeks of growing very old. In the
(3,0)
would reversing direction equate to (-3,0) and is the 0 column movement?

"Bob Phillips" wrote:

Activecell.Offset(3,0).Select

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)

"inflnow" <inflnow@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:99C8663B-B3D7-450A-8A95-19D2C687410E@xxxxxxxxxxxxxxxx
In Excel 2003 macro, how do you tell the macro recorder to record the
action
of "move down three cells from the current cell."
Using the down arrow key places a cell reference and this won't work
for
me.
Using the "Enter" key pastes from my clipboard so that does'nt work.
What
is the simple solution?






.



Relevant Pages

  • RE: Wild Card Vlookups
    ... 'Cell Formula using the OFFSET worksheet formula with multiple criteria to ... 'Returns a reference to a range that is a specified number of rows and columns ...
    (microsoft.public.excel.misc)
  • Re: Nesting Address function in Offset without Quotes???
    ... The INDIRECT function will convert your text string "A1" into a cell ... is a cell reference. ... Address does the trick except that the offset function ... quotes). ...
    (microsoft.public.excel.worksheet.functions)
  • RE: Using an offset formula for the reference in a relative refere
    ... Sheet1!A1:C4 and A1 is linked to a cell in Sheet1!A1:C4 ... I will need to figure out how to extract the variable cell reference data ... Sheet 2 to populate the row and column info in the INDEX/MATCH ... I can embed an OFFSET formula in the ...
    (microsoft.public.excel.worksheet.functions)
  • RE: Using an offset formula for the reference in a relative refere
    ... I will need to figure out how to extract the variable cell reference data ... from cell A1, Sheet 2 to populate the row and column info in the INDEX/MATCH ... since the number of rows for the offset will be ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Create cell formula from a relative position
    ... reference - just as if you had typed it). ... You can try to use your code to figure out the proper cell addresses to ... > but it only calculates the absolute position of C1*H1 ... >> And, in general, this is the way it works: Offset gives a range the same ...
    (microsoft.public.excel.programming)