Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Daniel
 
Posts: n/a
Default how do i make it so that when a sheat is selected either via link or tab, that xlLastCell is selected. the last on the sheet.

how do i make it so that when a sheat is selected either via link or tab,
that xlLastCell is selected. the last on the sheet.


  #2   Report Post  
Rowan
 
Posts: n/a
Default

Use the sheet activate event. Right click on the sheet tab, select view code
and then paste this event code onto the code sheet.

Private Sub Worksheet_Activate()
Cells.SpecialCells(xlCellTypeLastCell).Select
End Sub

Hope this helps
Rowan

"Daniel" wrote:

how do i make it so that when a sheat is selected either via link or tab,
that xlLastCell is selected. the last on the sheet.



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
how read value from last selected cell? It is possible? how get adress last selected cell? Andrzej New Users to Excel 4 May 30th 05 07:28 PM
Perform oiperations relative to initial selected cell scratching my head Excel Discussion (Misc queries) 1 May 30th 05 05:42 PM
Can you make a cell with a diagonal, so that you can edit the upper and lower part of the cell? g wills New Users to Excel 3 February 17th 05 10:23 PM
make hidden window or workbook visible without specify the name mango Excel Worksheet Functions 1 December 30th 04 03:05 PM
make a cell empty based on condition mpierre Charts and Charting in Excel 2 December 29th 04 01:01 PM


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