Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 267
Default offset row not column

I want to return a value contained in the column "ar" and in the same row as
the active cell

activecell.offfset (????
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default offset row not column

try range("ar" & activecell.row)

--


Gary


"Atishoo" wrote in message
...
I want to return a value contained in the column "ar" and in the same row as
the active cell

activecell.offfset (????



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default offset row not column


Since we don't know the column of the activecell, how about

cells(activecell.row,"ar")

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Atishoo" wrote in message
...
I want to return a value contained in the column "ar" and in the same row
as
the active cell

activecell.offfset (????


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default offset row not column

On Jul 18, 3:43*pm, Atishoo wrote:
I want to return a value contained in the column "ar" and in the same row as
the active cell

activecell.offfset (????


Range("AR" & ActiveCell.Row)?
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 267
Default offset row not column

great works no probs! am using it to control a web box so it returns the
patient whos range your looking ats database info as well its kick ass now
ta v much

"Don Guillett" wrote:


Since we don't know the column of the activecell, how about

cells(activecell.row,"ar")

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Atishoo" wrote in message
...
I want to return a value contained in the column "ar" and in the same row
as
the active cell

activecell.offfset (????





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
OFFSET COLUMN() ROW() - what does this mean? foxyfmu Excel Worksheet Functions 1 December 21st 10 09:38 PM
Offset from a variable column to a fixed column Kurt Barr Excel Programming 2 June 27th 06 05:45 PM
offset 1 row and return to first column GregM Excel Discussion (Misc queries) 1 March 31st 06 01:37 AM
???? =offset(ADDRESS(ROW(),COLUMN()),1,1,1,1) Creator Excel Worksheet Functions 5 February 17th 06 02:16 PM
offset every nth column Sampson Excel Worksheet Functions 2 February 27th 05 06:07 PM


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