Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Macro selecting the last used cell does not work

Range("A1").End(xlDown).Select

When I run a macro including this line everything normally works perfect.
That means the last cell is selected and the window scrolls to the actual
position.

However, I now have a problem with a macro where only the range is selected
but the window does not scroll to the position no matter where the position
is. I do not get any error messages. The line in question is the very last
line of my macro.

Does someone have an idea what can cause the problem and is there anything I
can do to improve the macro line?



Regards,

Kaj Pedersen


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Macro selecting the last used cell does not work

Hi,
I have figured out the problem.
In the first place I was not aware that I had the line
"Application.ScreenUpdating = False" among hundreds of lines.
I think the line came from partial recording of the macro.

Kaj Pedersen


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
Macro Pause for selecting cell jo2109 Excel Discussion (Misc queries) 3 June 4th 09 02:05 AM
macro selecting row that cursor is on (not the same cell every tim Jeremy Excel Discussion (Misc queries) 8 May 19th 08 05:09 PM
Help for Macro: Finding last cell and selecting it [email protected] Excel Discussion (Misc queries) 4 January 29th 07 08:40 AM
Data Validation does not work when selecting another cell. Simon Jefford Excel Discussion (Misc queries) 5 June 29th 05 11:10 PM
selecting a cell relative to activecell in an excel macro Zogann Excel Programming 1 October 17th 03 12:20 PM


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