Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 65
Default automatically updation of the excelsheet if i add new files in a .

how can i automatically update the excel sheet if new files are added in a
folder.(that folder contains various files which are entered there in the
folder)
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default automatically updation of the excelsheet if i add new files in a .

Amit,
In rough order of complexeasy :

The full way is receive notification from the system:
http://vbnet.mvps.org/code/shell/shchangenotify.htm

A more simple (but still API) route is:
http://vbnet.mvps.org/code/fileapi/watchedfolder.htm

Otherwise, you can use a timer/OnTime to get the content of the folder using
Dir() and compare the current contents with an array previous filename.
(Basically implementing your own version of the above method.)

NickHK

"amit" wrote in message
...
how can i automatically update the excel sheet if new files are added in a
folder.(that folder contains various files which are entered there in the
folder)



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
call excelsheet within excelsheet when user clicks excelsheet ico mohini Excel Worksheet Functions 0 November 20th 06 05:07 AM
How to use a macro from another excelsheet Jeroen[_2_] Excel Programming 4 May 24th 06 03:21 PM
updation in farmulae Abhishek kedia Excel Discussion (Misc queries) 5 May 13th 06 08:24 AM
Protected Excelsheet ngmahesh Excel Programming 2 January 6th 06 01:31 PM
how to use an excelsheet that is already in my userform Jean-Pierre D via OfficeKB.com Excel Programming 0 August 19th 05 08:19 AM


All times are GMT +1. The time now is 01:25 PM.

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"