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

What i require is quite simple.

I have created a macro which extracts data from specfic spreadsheets
The spreadsheets are in constant use and i there need to know th
following:

If the macro automatcly opens the spreadsheet and no one else is usin
it it will open normally, but if the macro opens the file and it is i
the read only box appears will the macro just go in as read only o
will i have to place code to tell the macro to go in as readonly?

If i require code can you please give an exampl

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Readonly

Should just open it readonly.

--
Regards,
Tom Ogilvy

"pauluk " wrote in message
...
What i require is quite simple.

I have created a macro which extracts data from specfic spreadsheets.
The spreadsheets are in constant use and i there need to know the
following:

If the macro automatcly opens the spreadsheet and no one else is using
it it will open normally, but if the macro opens the file and it is in
the read only box appears will the macro just go in as read only or
will i have to place code to tell the macro to go in as readonly?

If i require code can you please give an example


---
Message posted from http://www.ExcelForum.com/



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
Readonly files nc Excel Discussion (Misc queries) 2 March 18th 05 11:13 AM
Making cells readonly Sarah[_4_] Excel Programming 6 February 8th 04 09:16 PM
Open As Readonly SCSC[_2_] Excel Programming 5 February 4th 04 05:14 PM
Closing ReadOnly file using VBA acces Excel Programming 1 January 15th 04 08:59 PM
Change ReadOnly State Jos Vens Excel Programming 2 November 17th 03 10:35 PM


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