Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default Open second spreadsheet with certain permissions via onopen

When I open a certain spreadsheet, I want it to be able to do the following:

On open, the spreadsheet opens another speadsheet on my network but it opens
either hidden to the user or minimised and read only so that no changes can
be made.

Sounds a bit strange but its because the second spreadsheet contains loads
of lists which the first spreadsheet references (dynamic name ranges for
validation lists). but I dont want the second spreadsheet to be altered.

Thanks in advance for your help.

Kind regards,
Mawver1ck666
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default Open second spreadsheet with certain permissions via onopen

In the open event of your workbook (double -click on thisWorkbook in the VBA
project manager, select 'workbook'in the left-hand combo and 'open' in the
right-hand combo) enter:
application.Workbooks.Open(YourPathAndFileName,,Tr ue)

The "True" opens the wokbook in readonly mode

"Maver1ck666" wrote:

When I open a certain spreadsheet, I want it to be able to do the following:

On open, the spreadsheet opens another speadsheet on my network but it opens
either hidden to the user or minimised and read only so that no changes can
be made.

Sounds a bit strange but its because the second spreadsheet contains loads
of lists which the first spreadsheet references (dynamic name ranges for
validation lists). but I dont want the second spreadsheet to be altered.

Thanks in advance for your help.

Kind regards,
Mawver1ck666

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
Using permissions to share a spreadsheet.... RachelE27 Excel Discussion (Misc queries) 3 June 29th 09 06:43 PM
Setting up Permissions or Security selection spreadsheet blueegypt Excel Discussion (Misc queries) 0 April 20th 06 04:54 PM
OnOpen event Aaron Excel Programming 1 October 28th 04 02:35 PM
Set Active Worksheet onOpen BananaQuaalude[_6_] Excel Programming 3 June 8th 04 08:53 PM
How to open another Excel spreadsheet to copy data into current spreadsheet ? Ricky Pang Excel Programming 0 July 13th 03 01:59 PM


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