Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 557
Default HOW TO SELECT NEXT CELL OF LAST VALUE CELL

Hi, in macro how you can select the next cell of the last value cell
in coloumn
For example If I have value in cell A1 to A10 then how can I select
next cell
of cell A10 which will be B10.
Please if anybody can help
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default HOW TO SELECT NEXT CELL OF LAST VALUE CELL

Hi,

Try this

Sub versive()
lastrow = Cells(Cells.Rows.Count, "A").End(xlUp).Row
Cells(lastrow, 1).Offset(0, 1).Select
End Sub

Mike

"K" wrote:

Hi, in macro how you can select the next cell of the last value cell
in coloumn
For example If I have value in cell A1 to A10 then how can I select
next cell
of cell A10 which will be B10.
Please if anybody can help

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default HOW TO SELECT NEXT CELL OF LAST VALUE CELL

try
cells(10,cells(columns.count,10).end(xltoleft).col umn+1).select

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"K" wrote in message
...
Hi, in macro how you can select the next cell of the last value cell
in coloumn
For example If I have value in cell A1 to A10 then how can I select
next cell
of cell A10 which will be B10.
Please if anybody can help


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 VBA TO SELECT A CELL; NOTE THE CELL VALUE;COPYADJ CELL;FIND CELL VALUE IN A RANGE AND SO ON CAPTGNVR Excel Programming 2 July 8th 07 04:18 PM
Run Macro from cell change THEN select adjacent cell mslabbe Excel Programming 4 December 24th 06 06:49 PM
How do I select multiple selections using the range(cell(),Cell()) havocdragon Excel Programming 1 November 8th 06 05:02 PM
How to point to (select) a cell to the left from a cell where I enter the = equal sign? Dmitry Excel Discussion (Misc queries) 4 June 30th 06 06:49 AM
Select cell, Copy it, Paste it, Return to Previous cell spydor Excel Discussion (Misc queries) 1 December 30th 05 01:29 PM


All times are GMT +1. The time now is 06:19 PM.

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"