Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Linked worksheet Query Counter

Todd,

Not sure if I am understanding what you are trying to do.
I assume both workbooks can access each other, and you
want one workbook to know the number of times the other
one was openned. If that is the case, you could put the
following in the Workbook_Open event of the one you want
to know how many times it was openned:
Range("A2").Value = Range("A2").Value + 1
(Replace A2 with a cell that is not being used.)
You could then use the value in the other workbook.

Hope that helps,
Ed

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default Linked worksheet Query Counter

well the workbook it updates links from is not actually
opened, its just linked to and read, does this method take
that into consideration?
-----Original Message-----
Todd,

Not sure if I am understanding what you are trying to do.
I assume both workbooks can access each other, and you
want one workbook to know the number of times the other
one was openned. If that is the case, you could put the
following in the Workbook_Open event of the one you want
to know how many times it was openned:
Range("A2").Value = Range("A2").Value + 1
(Replace A2 with a cell that is not being used.)
You could then use the value in the other workbook.

Hope that helps,
Ed

.

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
Sorting non-linked cells in a linked worksheet Gary Excel Discussion (Misc queries) 1 October 25th 08 03:38 AM
Can Excel be linked to SAS query natada Excel Discussion (Misc queries) 1 September 3rd 08 08:54 PM
Query linked cell values i_am_wookiee Excel Worksheet Functions 0 February 22nd 08 12:11 AM
Counter in a worksheet Jason B Excel Worksheet Functions 3 January 26th 06 07:00 PM
copying files with query(s), the query is still linked to the ori. Mohamed Antar Excel Discussion (Misc queries) 0 March 23rd 05 01:43 PM


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

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

About Us

"It's about Microsoft Excel"