PC Review


Reply
Thread Tools Rate Thread

automatically updation of the excelsheet if i add new files in a .

 
 
=?Utf-8?B?YW1pdA==?=
Guest
Posts: n/a
 
      11th Jan 2007
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 With Quote
 
 
 
 
NickHK
Guest
Posts: n/a
 
      11th Jan 2007
Amit,
In rough order of complex>easy :

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" <(E-Mail Removed)> wrote in message
news:36D31509-767D-419D-8C74-(E-Mail Removed)...
> 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 With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot Table Automatically updation problem dharmendra.keshari@gmail.com Microsoft Excel Programming 1 2nd Jan 2009 01:39 PM
call excelsheet within excelsheet when user clicks excelsheet ico =?Utf-8?B?bW9oaW5p?= Microsoft Excel Worksheet Functions 0 20th Nov 2006 05:07 AM
Protected Excelsheet ngmahesh Microsoft Excel Programming 2 6th Jan 2006 01:31 PM
Removing excelsheet using VBA =?Utf-8?B?RGFtaWFhbg==?= Microsoft Access VBA Modules 4 19th Mar 2005 11:25 AM
External links updation for files sent via mail Ketan Shah Microsoft Excel Worksheet Functions 0 4th Jun 2004 10:26 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:33 PM.