Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mike K
 
Posts: n/a
Default Read only command line switch

Oh wise ones,

Excel 2003
XP Pro

I would like to force a workbook to open read only. I have followed the
directions in the help section, but I must be doing something wrong. Any help
would be appreciated.

The workbook is on a shared network drive here;
S:\common\Lab\Job Aids\Golive.xls

I created a shortcut and edited the target like below, but windows says it's
invalid.

"C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE /r S:\common\Lab\Job
Aids\Golive.xls"

Thanks,
Mike

  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

When you have spaces in your paths, you have to surround each of them with
double quotes:

"C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE" /r
"S:\common\Lab\Job Aids\Golive.xls"

(all one command)

I do have a question for you.

If you want the workbook to be readonly for all the users, you'll have to put a
shortcut like this on all their desktops and hope and pray that they use that
shortcut.

You may want to mark the file ReadOnly in Windows Explorer.

Or even save it with a password to open with modify rights:

File|SaveAs|Tools|General Options|Password to modify

The other users will be still be able to open it in readonly mode.



Mike K wrote:

Oh wise ones,

Excel 2003
XP Pro

I would like to force a workbook to open read only. I have followed the
directions in the help section, but I must be doing something wrong. Any help
would be appreciated.

The workbook is on a shared network drive here;
S:\common\Lab\Job Aids\Golive.xls

I created a shortcut and edited the target like below, but windows says it's
invalid.

"C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE /r S:\common\Lab\Job
Aids\Golive.xls"

Thanks,
Mike


--

Dave Peterson
  #3   Report Post  
Mike K
 
Posts: n/a
Default

Thanks Dave, that did the trick. Security is no big deal.
I just wanted to be able to open a copy without any
prompts.

Mike

-----Original Message-----
When you have spaces in your paths, you have to surround

each of them with
double quotes:

"C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE" /r
"S:\common\Lab\Job Aids\Golive.xls"

(all one command)

I do have a question for you.

If you want the workbook to be readonly for all the

users, you'll have to put a
shortcut like this on all their desktops and hope and

pray that they use that
shortcut.

You may want to mark the file ReadOnly in Windows

Explorer.

Or even save it with a password to open with modify

rights:

File|SaveAs|Tools|General Options|Password to modify

The other users will be still be able to open it in

readonly mode.



Mike K wrote:

Oh wise ones,

Excel 2003
XP Pro

I would like to force a workbook to open read only. I

have followed the
directions in the help section, but I must be doing

something wrong. Any help
would be appreciated.

The workbook is on a shared network drive here;
S:\common\Lab\Job Aids\Golive.xls

I created a shortcut and edited the target like below,

but windows says it's
invalid.

"C:\Program Files\Microsoft Office\OFFICE11

\EXCEL.EXE /r S:\common\Lab\Job
Aids\Golive.xls"

Thanks,
Mike


--

Dave Peterson
.

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
How do I switch off automatic formatting (e.g. dates)? Coen Excel Discussion (Misc queries) 8 July 13th 06 08:08 AM
Using Jet to read excel file returns blank for last cell - sometim Ron Excel Discussion (Misc queries) 1 December 9th 04 08:21 AM
cannot save file - folder is read only BigDog Excel Discussion (Misc queries) 1 December 7th 04 11:18 PM
Rules that act on messages after they are opened & read? Perotin Excel Discussion (Misc queries) 1 December 5th 04 12:31 AM
Network access to file - read only property AL Excel Discussion (Misc queries) 1 December 2nd 04 01:22 AM


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