View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Sune Fibaek Sune Fibaek is offline
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