Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Updating closed excel files

I have a list of data, let say from A1 to A20.

I want to update them into A1 of 20 files namely file1.xls, file2.xls
..... file20.xls.

The A1 will goto file1.xls A1
A2 will goto file2.xls A1
......
A20 will goto file3.xls A1.


Is there any macro to update closed file's cells?


regards

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Updating closed excel files

This file might be a help:
http://www.bygsoftware.com/examples/...SqlRequest.zip
It's in the "Excel with Access Databases" section on page:
http://www.bygsoftware.com/examples/examples.htm

This workbook demonstrates how to get data direct from an MS Access table,
or from an open or closed MS Excel workbook using the workbook function
SQL.REQUEST.

Recently updated to show the use of SQL.REQUEST in the same workbook.

The code is open and commented.

The nice thing about SQL.REQUEST is that you can structure it to use
replacable filenames parameters (the "missing" feature of INDIRECT), and you
can also run UPDATE queries which will update data in closed Excel files.
The downside is that it's slow.

--
Regards
-
Andy Wiggins FCCA
www.BygSoftware.com
Excel, Access and VBA Consultancy


wrote in message
oups.com...
I have a list of data, let say from A1 to A20.

I want to update them into A1 of 20 files namely file1.xls, file2.xls
.... file20.xls.

The A1 will goto file1.xls A1
A2 will goto file2.xls A1
.....
A20 will goto file3.xls A1.


Is there any macro to update closed file's cells?


regards



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
Need formula help linking closed excel files Steven Excel Discussion (Misc queries) 6 July 10th 07 05:50 PM
Updating Closed External Refs [email protected] Excel Discussion (Misc queries) 5 May 7th 07 05:16 PM
Lookup function Closed files Excel [email protected] Excel Worksheet Functions 3 January 12th 07 04:41 PM
why do all files get closed when i only close one in excel? carrie Excel Discussion (Misc queries) 1 November 28th 05 06:45 PM
Can you recover Excel files accidently closed using autosave? Mazamban Excel Discussion (Misc queries) 2 June 6th 05 05:40 PM


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