Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Goto last cell

This is pretty simple but then again so am I

I have a macro which when run from a command button unhides all the hidden cells on a sheet.

What do I need to add to the end of the macro to place the cursor in the last cell in a column which has data in it?

Told you it was simple.

Thanks in anticipation
Martin
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,345
Default Goto last cell

You don't say which column so I will assume that it is the Column that the cursor is in:

Cells(Rows.Count,ActiveCell.Column).End(xlUp).Sele ct

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Martin B" wrote in message ...
This is pretty simple but then again so am I

I have a macro which when run from a command button unhides all the hidden cells on a sheet.

What do I need to add to the end of the macro to place the cursor in the last cell in a column which has data in it?

Told you it was simple.

Thanks in anticipation
Martin
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
Goto location of another cell value CLR Excel Programming 5 May 7th 07 07:52 PM
How to goto the next available cell in a column. [email protected] Excel Programming 1 October 26th 06 05:15 PM
Goto a referenced cell mburkett Excel Programming 1 May 17th 06 09:35 PM
Goto Next VISIBLE cell below Rasmus[_2_] Excel Programming 5 May 24th 04 04:26 AM
goto a particular cell Newbie Excel Programming 5 April 15th 04 01:46 PM


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