Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default Target Offset?

Excel 2002, Win XP
Chip Pearson responded to a poster with a Worksheet_Change event macro that
included the line:
Target(1, 4).Value = Now
The Target(1,4) term is new to me. I played with it and it acts like an
Offset of (0,3).
What does the (1,4) in Target(1,4) mean? Thanks for your help. Otto


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default Target Offset?

It's short coding for item/cells property of the range collection...


Range("b2")= Range("a1")(2,2)=[a1].offset(1,1)


Lotsa ways to refer to a cell :)




keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


"Otto Moehrbach" wrote:

Excel 2002, Win XP
Chip Pearson responded to a poster with a Worksheet_Change event macro
that included the line:
Target(1, 4).Value = Now
The Target(1,4) term is new to me. I played with it and it acts like
an Offset of (0,3).
What does the (1,4) in Target(1,4) mean? Thanks for your help. Otto




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Target Offset?

Though I didn't see the original message, my guess is that
Target is the name of a Range object. In any case, your
guess is correct, since cell references are 1 based,
rather than zero based, as are the underlying arrays.

David Gray
P6 Consulting
http://www.p6c.com

You are more important than any technology we may employ.



-----Original Message-----
Excel 2002, Win XP
Chip Pearson responded to a poster with a

Worksheet_Change event macro that
included the line:
Target(1, 4).Value = Now
The Target(1,4) term is new to me. I played with it and

it acts like an
Offset of (0,3).
What does the (1,4) in Target(1,4) mean? Thanks for your

help. Otto


.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 493
Default Target Offset?

Chip's site has a good explanation of the Item method by Alan Beban:

http://www.cpearson.com/excel/cells.htm

In article ,
"D. A. Gray" wrote:

Though I didn't see the original message, my guess is that
Target is the name of a Range object. In any case, your
guess is correct, since cell references are 1 based,
rather than zero based, as are the underlying arrays.

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
Target.Offset(0, 36).Value Help Matt Excel Discussion (Misc queries) 0 April 1st 10 05:56 PM
Target.Value lehigh46 Excel Worksheet Functions 2 April 1st 08 01:01 PM
Compare Cell Values, Offset(-1,0), Offset(-1,-1), and xlFillDefaul RyGuy Excel Worksheet Functions 2 September 28th 07 10:54 PM
Target cell reference moves when target is cut and pasted Illya Teideman Excel Discussion (Misc queries) 5 May 31st 07 11:34 AM
Target Param Excel Worksheet Functions 1 March 16th 06 08:13 PM


All times are GMT +1. The time now is 03:57 AM.

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"