Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Manipulation of Selection.Address


Is there a variable type that i can save Selection.Address into that i
can manipulate???
Basically i'm finding the first empty cell of on a column of the sheet
by:
Dim LastRow As Range
Set LastRow = Cells(Rows.count, "C").End(xlUp)
LastRow.Offset(1).Select

(thanks Don G)

After that i'd like to be able to select another column, but the same
row that LastRow.Offset(1).Select Selected.

Thanks for any help you may be able to offer,

Chris


--
cbh35711
------------------------------------------------------------------------
cbh35711's Profile: http://www.excelforum.com/member.php...o&userid=30276
View this thread: http://www.excelforum.com/showthread...hreadid=527784

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Manipulation of Selection.Address

To select the cellin column F

LastRow.Offset(1, 3).Select



--
Regards Ron de Bruin
http://www.rondebruin.nl


"cbh35711" wrote in message
...

Is there a variable type that i can save Selection.Address into that i
can manipulate???
Basically i'm finding the first empty cell of on a column of the sheet
by:
Dim LastRow As Range
Set LastRow = Cells(Rows.count, "C").End(xlUp)
LastRow.Offset(1).Select

(thanks Don G)

After that i'd like to be able to select another column, but the same
row that LastRow.Offset(1).Select Selected.

Thanks for any help you may be able to offer,

Chris


--
cbh35711
------------------------------------------------------------------------
cbh35711's Profile: http://www.excelforum.com/member.php...o&userid=30276
View this thread: http://www.excelforum.com/showthread...hreadid=527784



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Manipulation of Selection.Address


Well yeah...that was the next logical step... :)

You rock

Thanks,

Chris


--
cbh35711
------------------------------------------------------------------------
cbh35711's Profile: http://www.excelforum.com/member.php...o&userid=30276
View this thread: http://www.excelforum.com/showthread...hreadid=527784

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
Returning a cell address in a msgbox, by selection via inputbox Ty FARAZ QURESHI Excel Discussion (Misc queries) 3 April 8th 09 12:57 PM
Selection Address Gizmo Excel Discussion (Misc queries) 1 January 3rd 09 10:19 AM
Code to send email to address within selection in Excel workbook vic1 Excel Discussion (Misc queries) 3 May 28th 08 09:51 PM
Copy Selection - Transpose Selection - Delete Selection Uninvisible Excel Discussion (Misc queries) 2 October 23rd 07 04:18 PM
For better Performance in VBA for Excel - Strings manipulation OR Objects manipulation vmegha Excel Programming 2 December 19th 05 12:14 AM


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