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  dBforums > PC based Database Applications > Microsoft Excel > excel external data refreshing

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-26-04, 14:57
excelenz excelenz is offline
Registered User
 
Join Date: Feb 2004
Posts: 2
excel external data refreshing

hi,

i have an excel spreadhseet that imports data from an external database. the spreadsheet is set to refresh every minute and on opening. i have another spreadsheet that "VLOOKUP"s information from the first spreadsheet. the first spreadsheet does not refresh itself when it is close. is there any way i could set the 1st spreadsheet to update itself when it is closed.

any help will be much appreciated
Reply With Quote
  #2 (permalink)  
Old 03-04-04, 03:49
qha_vn qha_vn is offline
Registered User
 
Join Date: Jan 2003
Location: Vietnam
Posts: 188
Simply write a macro to refresh the list and put it in Workbook_BeforeClose event
__________________
qha_vn
Reply With Quote
  #3 (permalink)  
Old 03-04-04, 15:15
excelenz excelenz is offline
Registered User
 
Join Date: Feb 2004
Posts: 2
Yes but the workbook is closed. it won't be opened but needs to be refreshed every 2 minutes. Any ideas?

Quote:
Originally posted by qha_vn
Simply write a macro to refresh the list and put it in Workbook_BeforeClose event
Reply With Quote
  #4 (permalink)  
Old 03-04-04, 21:29
qha_vn qha_vn is offline
Registered User
 
Join Date: Jan 2003
Location: Vietnam
Posts: 188
Quote:
Originally posted by excelenz
Yes but the workbook is closed. it won't be opened but needs to be refreshed every 2 minutes. Any ideas?
oh sorry, i misunderstood. there are 2 suggestions for u

- write a macro in the 'lookup' file to open the data file every 2 minutes (it needs to be open all the time, doesnt it?
- or combine 2 files into one.

hope this helps
__________________
qha_vn
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On