Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 41
Default Restrict User to a directory

Hi All,

I have a user whos computer skills are zero and does not understand
the concept of directories and there use.
I would like to restrict him from saving Excel files only in the
directory h:\excel & sub-directories underneath it.

I was thinking of a startup macro which could do the job, check the
path and if the path is not h:\excel it would change the path to h:
\excel and list the sub-directoreis and let the user save the file.

All suggestions are welcome and even more appreciated is a macro that
would do the job as my programming skills are very very minimum.

thanks in advance ,

Dave
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default Restrict User to a directory

Perhaps you can use ThisWorkbook's BeforeSave event to control this. I'm
thinking you could save the workbook out to wherever you want from here and
then set the event's Cancel argument to True to stop the save operation that
the user initiated.

--
Rick (MVP - Excel)


"Dave" wrote in message
...
Hi All,

I have a user whos computer skills are zero and does not understand
the concept of directories and there use.
I would like to restrict him from saving Excel files only in the
directory h:\excel & sub-directories underneath it.

I was thinking of a startup macro which could do the job, check the
path and if the path is not h:\excel it would change the path to h:
\excel and list the sub-directoreis and let the user save the file.

All suggestions are welcome and even more appreciated is a macro that
would do the job as my programming skills are very very minimum.

thanks in advance ,

Dave


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
Data validation won't restrict user input - please help A. Young Excel Discussion (Misc queries) 1 February 7th 10 01:50 AM
restrict user to enter 5 digits only sam Excel Programming 5 July 29th 09 07:16 PM
restrict user in excel to numbers below 100 Caroline Excel Worksheet Functions 2 February 25th 08 09:03 PM
Restrict User to specific cell [email protected] Excel Discussion (Misc queries) 3 April 24th 06 01:59 AM
Restrict User Input Sala[_2_] Excel Programming 7 May 4th 04 07:39 PM


All times are GMT +1. The time now is 09:42 PM.

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"