LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 204
Default selectin the whole column beside the target cell

I have the following code which is trying to determine the maximum value in
the whole column beside the target cell, then add 1 to it and enter it in the
column beside the target cell. It doesn't give an error but it is not
selecting the right values

Target.Offset(0, 1) = WorksheetFunction.Max(Range(Target.Column + 1 & ":" &
Target.Column + 1)) + 1

Thanks
 
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
Selectin an specific item on the spreadsheet. Gmata Excel Discussion (Misc queries) 4 April 8th 09 06:52 PM
Target line to a column chart? Deb Charts and Charting in Excel 2 September 14th 07 12:50 PM
Target cell reference moves when target is cut and pasted Illya Teideman Excel Discussion (Misc queries) 5 May 31st 07 11:34 AM
selectin all the values in a column including null values Purnima Sharma Excel Programming 2 November 14th 05 04:24 PM
Displayed contents of cell in target row if column criteria is met Tankrdav Excel Worksheet Functions 2 July 17th 05 01:09 AM


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