Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Vertical scrollbar screwed up

Normally when I drag the vertical scrollbar down to the bottom position
it goes to about line number 150 or so, depending on how much data I
have in that worksheet. But on one worksheet it suddenly and
mysteriously changed to scrolling down to line number 1048576. I don't
know what I did to make it do that. How can I get it back to normal? I
don't like it the way it is because the scrollbar handle is very small
and in normal use stays at the top of the range, making it harder to use
it to scroll up or down within the range of lines where I have data.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,514
Default Vertical scrollbar screwed up

Normally when I drag the vertical scrollbar down to the bottom
position it goes to about line number 150 or so, depending on how
much data I have in that worksheet. But on one worksheet it suddenly
and mysteriously changed to scrolling down to line number 1048576. I
don't know what I did to make it do that. How can I get it back to
normal? I don't like it the way it is because the scrollbar handle
is very small and in normal use stays at the top of the range, making
it harder to use it to scroll up or down within the range of lines
where I have data.


Hit the keyboard combo *Ctrl+End* and see where it takes you. It should
select the last row/col of your data. If beyond this then...

If rows:
Select those rows and delete them;

If cols:
Select those cols and delete them;

Save the file;
Hit *Ctrl+End* again to make sure you got it right.

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Vertical scrollbar screwed up

On 5/23/2013 8:59 AM, GS wrote:
Normally when I drag the vertical scrollbar down to the bottom
position it goes to about line number 150 or so, depending on how
much data I have in that worksheet. But on one worksheet it suddenly
and mysteriously changed to scrolling down to line number 1048576. I
don't know what I did to make it do that. How can I get it back to
normal? I don't like it the way it is because the scrollbar handle
is very small and in normal use stays at the top of the range, making
it harder to use it to scroll up or down within the range of lines
where I have data.


Hit the keyboard combo *Ctrl+End* and see where it takes you. It
should select the last row/col of your data. If beyond this then...

If rows:
Select those rows and delete them;

If cols:
Select those cols and delete them;

Save the file;
Hit *Ctrl+End* again to make sure you got it right.


Ctrl-End takes me to J1048576. After deleting columns E:J, Ctrl-End
still takes me to J1048576. Similarly deleting rows 100:1048576 has no
effect either. Then I selected all cells and cleared the Bold button,
also the Center Vertically, and a few other things, after which to my
amazement Ctrl-End went to E917504 (xE0000 - what does that show?)

I had noticed before that deleting rows does not change the row to which
you scroll when moving the vertical scroll handle all the way down. In
other words, on a new worksheet, if you enter data into rows 1:100 and
then move the vertical scroll handle all the way down, it will show row
100 at the bottom of the page. If you then delete rows 50:100, you
would expect (hope) that moving the vertical scroll handle all the way
down would result in row 49 being at the bottom of the page. But
instead it still moves down to row 100. I could not find a way to make
it forget that there once was data in rows 50:100.

Is there a difference between cells that were never used and cells that
were used and then cleared, or deleted?

Thanks for your help.

Renny

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,514
Default Vertical scrollbar screwed up

If you delete rows 50:100 and don't Save then nothing changes because
the UsedRange is not redefined until a save occurs. Using Ctrl+End
should only take you to the last used cell, even when it's empty. If
that happens to be beyond your data then it can be resolved using the
3-step method (delete rows, delete cols, save) I posted.

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Vertical scrollbar screwed up

On 5/23/2013 9:15 PM, GS wrote:
If you delete rows 50:100 and don't Save then nothing changes because
the UsedRange is not redefined until a save occurs. Using Ctrl+End
should only take you to the last used cell, even when it's empty. If
that happens to be beyond your data then it can be resolved using the
3-step method (delete rows, delete cols, save) I posted.

Thank you very much. That explains it, and solves my problem.

Cheers.
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
vertical scrollbar in Excel a0xbjzz Excel Discussion (Misc queries) 1 July 16th 08 08:29 PM
Scrollbar, vertical jrich15322 Excel Discussion (Misc queries) 6 October 5th 06 12:53 PM
listbox and vertical scrollbar mtm4300 via OfficeKB.com Excel Programming 1 April 7th 06 08:10 PM
Lower Boundary of Vertical Scrollbar noplasma Excel Discussion (Misc queries) 0 January 5th 06 05:24 PM
How do I update the Vertical scrollbar Ken Soenen Excel Programming 3 December 30th 05 03:27 AM


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