Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7,247
Default How to return to a cell after sorting a spreadsheet.

If your range contains no blank cells, select any cell in the desired
column, press END then the DOWN ARROW key.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email address is on the web site)

"Givvie" wrote in message
...
Thanks Paul
Exactly what I was after - Is there a place on the toolbar to do this or a
keyboard shortcut?

Givvie

"Paul B" wrote:

Givvie, add this line of code at the end of your macro, it will select
the
last cell in column A with data

Cells(Rows.Count, 1).End(xlUp).Select


--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"Givvie" wrote in message
...
After doing a sort via a macro, how do you get it to always return to a

cell
in the last row of data that was entered.
I have set up a macro that will sort rows of data from top to bottom in

date
entered order (current date being the last row of data entered)
depending

on
what is entered into a particular coloum eg date out column.
The problem I have is because the macro was set up when there was only
a

few
rows and now there are heaps it always returns me to the cell that was
selected at the time of doing the macro eg B6.
I am now entering data into row 580 and this row number is increasing
each
time. After I do a sort I have to scroll down to my last row.






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
Sumproduct issues SteveDB1 Excel Worksheet Functions 25 June 3rd 09 04:58 PM
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 01:36 AM
Displaying contents of cell on different spreadsheet telewats Excel Discussion (Misc queries) 1 January 26th 06 04:58 PM
Select cell, Copy it, Paste it, Return to Previous cell spydor Excel Discussion (Misc queries) 1 December 30th 05 01:29 PM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM


All times are GMT +1. The time now is 09:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"