Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 788
Default Limit User scrolling

All,

On an auto_open() I want to limit users to not being able to scroll right as
there are data sets that I do not want them to have access to.

how can I lock it so that they can not scroll right/left off the viewable
screen, but still allowing them to go up and down?

TIA

Chris

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 95
Default Limit User scrolling

Hi Chris,

how can I lock it so that they can not scroll right/left

off the viewable
screen, but still allowing them to go up and down?


afaik excel only provides you with

Application.DisplayScrollBars = False

But: they can still navigate hy clicking a cell and using
the cursor...

why don't you just hide the columns containing data?
Format=Column=hide

Best

Markus


TIA

Chris

.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Limit User scrolling

Chris,
You can set the .ScrollArea of the WS, but as far as I know, it is not a
persistent property, so you have set it everytime the WB is opened.
The WS needs to be protected for this to have an effect.

NickHK

"Chris" wrote in message
...
All,

On an auto_open() I want to limit users to not being able to scroll right

as
there are data sets that I do not want them to have access to.

how can I lock it so that they can not scroll right/left off the viewable
screen, but still allowing them to go up and down?

TIA

Chris



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 41
Default Limit User scrolling

Hi Chris:

you can do something like this:

Sheets("SheetName").ScrollArea = "A1:Q90"


I have this line in a macro that runs every time the workbook opens.

This macro resides in the ThisWorkbook object:

Private Sub Workbook_Open()
Sheets("SheetName").ScrollArea = "A1:Q90"
End Sub


HTH

Andrew Bourke

Chris wrote:
All,

On an auto_open() I want to limit users to not being able to scroll right as
there are data sets that I do not want them to have access to.

how can I lock it so that they can not scroll right/left off the viewable
screen, but still allowing them to go up and down?

TIA

Chris

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
want to share workbook but limit the sheets each user sees Mikekne Excel Worksheet Functions 5 November 5th 08 04:32 PM
Limit a template from normal user activity hmm Excel Discussion (Misc queries) 0 April 12th 07 04:26 PM
Count occurence with user defined upper&lower limit. Chan Excel Worksheet Functions 4 August 18th 06 05:34 AM
Live Scrolling/Real-Time /Smooth Scrolling doesn't work for me in Excel 2003 [email protected] Excel Discussion (Misc queries) 0 May 12th 06 03:15 AM
Restrict-Filter-Limit-Validate user input in Excel Dr. Thom Excel Discussion (Misc queries) 0 January 22nd 06 08:06 PM


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