LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 60
Default Set other workbooks while writing to ThisWorkbook

Hi,
I am trying to create a log with a hyperlink to saved data extracts from a
SQL server upon refresh of the data. I refresh the data upon opening the
workbook, so the macro is located/written on This Workbook. However, the log
is in another workbook. I am having trouble setting the log workbook in the
'upon open' macro -- if that makes any sense.

Now this is a problem only because I want to find the last line of the log,
of course. Whenever, and it doesn't matter if I write a separate macro and
call that macro into the 'upon open' macro, I request a count of the rows of
the log workbook I get the row count for the data extract workbook.

Any suggestions?

Thanks,
N
 
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
ThisWorkbook DejaVu[_61_] Excel Programming 1 February 23rd 06 12:52 AM
Writing Workbook_BeforeSave into workbooks from an XLA Crookie74 Excel Programming 0 September 15th 05 05:42 PM
How to use VBA to copy this code to "thisworkbook" objects of all opened workbooks ? Amolin[_2_] Excel Programming 5 June 3rd 05 08:34 AM
ThisWorkbook Ron[_28_] Excel Programming 9 January 3rd 05 10:51 PM
Workbooks.Open doesn't open file in ThisWorkbook Tomu Excel Programming 0 May 7th 04 10:18 PM


All times are GMT +1. The time now is 11:26 PM.

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"