Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do I select last cell in column plus 1?


Hello,

I am trying to select the last cell in a column plus one. Right now, I
can select the last cell in a column, but I want to select the next one
which is blank. Any ideas?

Here's the code I have:


Code:
--------------------
Range("A65536").End(xlUp).Select
--------------------


Now I just want to select the next cell...

Thanks!


--
limshady411
------------------------------------------------------------------------
limshady411's Profile: http://www.excelforum.com/member.php...o&userid=28711
View this thread: http://www.excelforum.com/showthread...hreadid=483995

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default How do I select last cell in column plus 1?

Range("A65536").End(xlUp).Cells(2,1).Select
Just make sure when you do this you are not on Row 65536!!!
--
- K Dales


"limshady411" wrote:


Hello,

I am trying to select the last cell in a column plus one. Right now, I
can select the last cell in a column, but I want to select the next one
which is blank. Any ideas?

Here's the code I have:


Code:
--------------------
Range("A65536").End(xlUp).Select
--------------------


Now I just want to select the next cell...

Thanks!


--
limshady411
------------------------------------------------------------------------
limshady411's Profile: http://www.excelforum.com/member.php...o&userid=28711
View this thread: http://www.excelforum.com/showthread...hreadid=483995


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do I select last cell in column plus 1?


Thanks! This did the trick! :

--
limshady41
-----------------------------------------------------------------------
limshady411's Profile: http://www.excelforum.com/member.php...fo&userid=2871
View this thread: http://www.excelforum.com/showthread.php?threadid=48399

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default How do I select last cell in column plus 1?

these both accomplish the same thing kd posted. just different ways

Range("A65536").End(xlUp).Offset(1, 0).Select

Range("A65536").End(xlUp).Range("a2").Select

--


Gary


"limshady411"
wrote in message
...

Thanks! This did the trick! :)


--
limshady411
------------------------------------------------------------------------
limshady411's Profile:
http://www.excelforum.com/member.php...o&userid=28711
View this thread: http://www.excelforum.com/showthread...hreadid=483995



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
VBA: Column Select then Data Select then return to cell A1 James C[_2_] Excel Discussion (Misc queries) 3 February 1st 10 11:35 AM
Using a formula to select a cell using the row and column values RodneyN Excel Worksheet Functions 8 December 30th 08 08:15 AM
select every other cell in a column deb Excel Discussion (Misc queries) 3 June 23rd 08 02:35 AM
Select a column based on a cell entry [email protected] Excel Programming 2 September 29th 05 12:41 PM
I want to select the first blank cell in column A Greegan Excel Worksheet Functions 7 March 13th 05 12:56 PM


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