Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default I need to be able to count the no. of times a sprdsheet is opened

I have a spreadsheet on a common drive accessed by workmates. I need a simple
counter to tell me how many times the sheet is opened. Any assistance is
appreciated.
Cheers

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 120
Default I need to be able to count the no. of times a sprdsheet is opened

Create a new workbook that is hidden in the same directory. Now in the
original spreadsheet create a macro that will run in the
"workbook_open" method that adds 1 to cell A1 in the hidden workbook.

Cheers,
Jason Lepack
Melvin P wrote:
I have a spreadsheet on a common drive accessed by workmates. I need a simple
counter to tell me how many times the sheet is opened. Any assistance is
appreciated.
Cheers


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 611
Default I need to be able to count the no. of times a sprdsheet is opened

For this to work, macros must be enabled. If the user elects not to run
macros (when the security level allows the user to choose whether to run
macros), then the counter won't get bumped. Also, the counter could be in
the actual workbook, if desired. It could be an unnoticed cell in a hidden
row or column, in a hidden sheet, or a named value (Insert - Name - Define)
which the macro could modify. The font color could be white, making it
invisible. The code should keep two of these counters. If they don't
agree, it's likely that a user has found one and changed it. Let the games
begin.

The VBA project could be locked to keep users from seeing what the code
does. Tools - VBA project properties - Protection tab - Lock project for
viewing. This is said to be more secure than Excel's passwords for stuff
like opening the file, protecting worksheets and workbooks, etc.

--
Earl Kiosterud
www.smokeylake.com
-----------------------------------------------------------------------
"Jason Lepack" wrote in message
ups.com...
Create a new workbook that is hidden in the same directory. Now in the
original spreadsheet create a macro that will run in the
"workbook_open" method that adds 1 to cell A1 in the hidden workbook.

Cheers,
Jason Lepack
Melvin P wrote:
I have a spreadsheet on a common drive accessed by workmates. I need a
simple
counter to tell me how many times the sheet is opened. Any assistance is
appreciated.
Cheers




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
Count # of times a value is in another spreadsheet klafert Excel Discussion (Misc queries) 1 October 29th 06 02:22 PM
I would like to count the # of times a value occurs in Col B base shopaholic Excel Worksheet Functions 3 December 9th 05 04:25 PM
how do i count how many people are working between two times in e APYDS Excel Worksheet Functions 4 August 16th 05 08:11 PM
How do I count the # of times a value reoccurs and plot it over ti Stephen Charts and Charting in Excel 2 August 10th 05 10:32 PM
Whats the function to count the total times a word is displayed Monk Excel Discussion (Misc queries) 3 December 10th 04 10:39 PM


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