Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default How do I write a Macro that

only allows certain users to open a spreadsheet?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default How do I write a Macro that

mydogpeanut wrote:
only allows certain users to open a spreadsheet?


Have a look at the application.username property. This can be changed in
Tools/Options/General so it is not exactly failsafe.

/Sune
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default How do I write a Macro that

Generally speaking macros are easy to defeat in terms of security. Why not
use password protection. File - Save As - Tools - General Options -
Password. Now the only wat to open the spreadsheet is with the password.
--
HTH...

Jim Thomlinson


"mydogpeanut" wrote:

only allows certain users to open a spreadsheet?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default How do I write a Macro that

Thanks Jim. I did this. It's probably easier than putting a Macro in any way.

Appreciate the help.

"Jim Thomlinson" wrote:

Generally speaking macros are easy to defeat in terms of security. Why not
use password protection. File - Save As - Tools - General Options -
Password. Now the only wat to open the spreadsheet is with the password.
--
HTH...

Jim Thomlinson


"mydogpeanut" wrote:

only allows certain users to open a spreadsheet?

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 write a macro AB Excel Worksheet Functions 1 August 17th 06 08:47 PM
How do i write a Macro that does following Gautam New Users to Excel 5 June 30th 05 08:24 AM
is it possible to execute write to the fields in another .xsl form a macro in another .xsl? e.g. some way to load another .xsl into an .xsl macro and write to its data? Daniel Excel Worksheet Functions 1 June 23rd 05 11:38 PM
Q: how can I write this macro? JIM.H. Excel Discussion (Misc queries) 6 May 30th 05 11:47 PM
Need help to write macro please Bob[_57_] Excel Programming 6 May 28th 04 01:21 AM


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