Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Equivalent Method to Control + END

Folks,

I used to know this at one time but I've forgotten.

What is the code I'd use to simulate what I get when I use the Control + End
key combination on a worksheet?

TIA
Alice


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 66
Default Equivalent Method to Control + END

Alice,


ActiveCell.SpecialCells(xlLastCell).Select

?

use the macro recorder to recor the ctrl + ENd action.

Cesar



"Wayne Smith" wrote in message
...
Folks,

I used to know this at one time but I've forgotten.

What is the code I'd use to simulate what I get when I use the Control +

End
key combination on a worksheet?

TIA
Alice




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Equivalent Method to Control + END

That takes you to the last cell, so if the worksheet is blank it selects A1.

--
Michael Hopwood (Phobos)


"Cesar Zapata" wrote in message
...
Alice,


ActiveCell.SpecialCells(xlLastCell).Select

?

use the macro recorder to recor the ctrl + ENd action.

Cesar



"Wayne Smith" wrote in message
...
Folks,

I used to know this at one time but I've forgotten.

What is the code I'd use to simulate what I get when I use the Control +

End
key combination on a worksheet?

TIA
Alice






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Equivalent Method to Control + END

Sorry Cesar, I mis-read the original post, you are correct of course.

--
Michael Hopwood (Phobos)


"Michael Hopwood" wrote in message
...
That takes you to the last cell, so if the worksheet is blank it selects

A1.

--
Michael Hopwood (Phobos)


"Cesar Zapata" wrote in message
...
Alice,


ActiveCell.SpecialCells(xlLastCell).Select

?

use the macro recorder to recor the ctrl + ENd action.

Cesar



"Wayne Smith" wrote in message
...
Folks,

I used to know this at one time but I've forgotten.

What is the code I'd use to simulate what I get when I use the Control

+
End
key combination on a worksheet?

TIA
Alice








  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Equivalent Method to Control + END

ActiveSheet.Range("a1").Select

--
Michael Hopwood (Phobos)


"Wayne Smith" wrote in message
...
Folks,

I used to know this at one time but I've forgotten.

What is the code I'd use to simulate what I get when I use the Control +

End
key combination on a worksheet?

TIA
Alice






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Equivalent Method to Control + END

Sorry, ignore my post, I mis-read your original post.

--
Michael Hopwood (Phobos)


"Michael Hopwood" wrote in message
...
ActiveSheet.Range("a1").Select

--
Michael Hopwood (Phobos)


"Wayne Smith" wrote in message
...
Folks,

I used to know this at one time but I've forgotten.

What is the code I'd use to simulate what I get when I use the Control +

End
key combination on a worksheet?

TIA
Alice






  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default Equivalent Method to Control + END

try
ActiveCell.SpecialCells(xlLastCell).Select

--
Don Guillett
SalesAid Software

"Wayne Smith" wrote in message
...
Folks,

I used to know this at one time but I've forgotten.

What is the code I'd use to simulate what I get when I use the Control +

End
key combination on a worksheet?

TIA
Alice




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
2007 Form Control/ActiveX Control font difference Nikko963 Excel Discussion (Misc queries) 0 April 15th 09 04:21 PM
Excel spin box - no Control tab in Format Control dialong box tocoau Excel Worksheet Functions 7 August 10th 08 03:15 PM
Difference between a Forms Control verus Active-X Control funGT350 Excel Discussion (Misc queries) 6 May 6th 08 11:20 PM
Please post this thread a correct full method, method about Nast Runsome New Users to Excel 8 February 25th 08 03:29 PM
Please post this thread a complete correct method, method about te Nast Runsome New Users to Excel 0 February 23rd 08 09:42 PM


All times are GMT +1. The time now is 04:11 AM.

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"