A Microsoft Excel forum. ExcelBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » ExcelBanter forum » Excel Newsgroups » Excel Programming
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

add a hit counter to excel files?

Thread Tools Display Modes
Old September 21st 06, 05:36 PM posted to microsoft.public.excel.programming
external usenet poster
Posts: 570
Default add a hit counter to excel files?

Can a hit counter be programed into the Excel file? I know you can do it
under a web page but I would like the counter to be in the file itself.
Old September 21st 06, 06:00 PM posted to microsoft.public.excel.programming
external usenet poster
Posts: 510
Default add a hit counter to excel files?

Hi Tom,

Have you tried an event macro ? :
Private Sub Workbook_Open()


Old September 21st 06, 07:25 PM posted to microsoft.public.excel.programming
Tom Ogilvy
external usenet poster
Posts: 6,953
Default add a hit counter to excel files?

Just a thought, but any counter maintained by the workbook_Open event would
need to save the workbook to maintain the count. If the workbook is saved
locally in the cache or tempfiles, then that probably wouldn't work.

Tom Ogilvy

"Carim" wrote:

> Hi Tom,
> Have you tried an event macro ? :
> Private Sub Workbook_Open()
> Cheers
> Carim


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
row counter tool for excel 2003 Ferds Excel Discussion (Misc queries) 2 March 10th 08 07:28 AM
Workbook access counter in excel? basher57 Excel Discussion (Misc queries) 1 January 30th 07 09:30 PM
Counter in Excel template office newbie Excel Programming 2 November 23rd 05 04:54 PM
How do I set up a counter in excel? Solanajack Setting up and Configuration of Excel 1 July 27th 05 11:51 PM
Increment a counter in Excel COSdl Excel Worksheet Functions 2 March 4th 05 09:47 PM

All times are GMT +1. The time now is 01:08 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright 2004-2017 ExcelBanter.
The comments are property of their posters.