#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 230
Default ScrollArea

Time after time I set the scrollarea property to a given worksheet to
$A$1:$K$32. But when I close the VBE it blanks out and the property doesn't
take hold.

Any ideas please?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 230
Default ScrollArea

By the way -- the file was stored in the Outlook Temp folder, since it had
been opened from an e-mail (attachment). If that was the reason, shame on
me. I resaved the file to a "proper" location and the behavior stopped being
at issue. Wierd!

"William Benson" wrote in message
...
Time after time I set the scrollarea property to a given worksheet to
$A$1:$K$32. But when I close the VBE it blanks out and the property
doesn't take hold.

Any ideas please?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default ScrollArea

Hi Bill,

Are you closing the workbook?

The ScrollArea property is not persistent so needs to be reset when the
workbook is re-opened, e.g.:

Sub workbook_open()

Dim sh As Worksheet

Set sh = Sheets("Sheet1")
sh.ScrollArea = "A1:K12"

End Sub

---
Regards,
Norman



"William Benson" wrote in message
...
By the way -- the file was stored in the Outlook Temp folder, since it had
been opened from an e-mail (attachment). If that was the reason, shame on
me. I resaved the file to a "proper" location and the behavior stopped
being at issue. Wierd!

"William Benson" wrote in message
...
Time after time I set the scrollarea property to a given worksheet to
$A$1:$K$32. But when I close the VBE it blanks out and the property
doesn't take hold.

Any ideas please?





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 230
Default ScrollArea

Yes, I was!

Thanks for this fact.
"Norman Jones" wrote in message
...
Hi Bill,

Are you closing the workbook?

The ScrollArea property is not persistent so needs to be reset when the
workbook is re-opened, e.g.:

Sub workbook_open()

Dim sh As Worksheet

Set sh = Sheets("Sheet1")
sh.ScrollArea = "A1:K12"

End Sub

---
Regards,
Norman



"William Benson" wrote in message
...
By the way -- the file was stored in the Outlook Temp folder, since it
had been opened from an e-mail (attachment). If that was the reason,
shame on me. I resaved the file to a "proper" location and the behavior
stopped being at issue. Wierd!

"William Benson" wrote in message
...
Time after time I set the scrollarea property to a given worksheet to
$A$1:$K$32. But when I close the VBE it blanks out and the property
doesn't take hold.

Any ideas please?







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
Limit Scrollarea exalan Excel Worksheet Functions 11 April 18th 08 10:32 AM
ScrollArea Kevin Excel Discussion (Misc queries) 2 August 23rd 07 11:21 PM
Scrollarea Doug Excel Discussion (Misc queries) 4 July 14th 06 03:43 PM
do I need ScrollArea and/or?? Andoni[_38_] Excel Programming 0 September 7th 04 10:32 PM
Activesheet.Scrollarea R. Todd Miller Excel Programming 1 October 3rd 03 04:42 PM


All times are GMT +1. The time now is 05:08 AM.

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

About Us

"It's about Microsoft Excel"