borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2009 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (VBA Row Number)Next Topic (excel vb project created in 2000 not working correctly in 2002) New Topic New Poll Post Reply
AndreaVB Forum : VBA (Access, Excel, Word, ...) : daily function
Poster Message
joesam
Level: Trainee

Registered: 22-08-2008
Posts: 1

icon daily function

HELLO;

i'm making a simple program to track guest' activities for a small non-profit and i need some help with vb code. i need to write a macro that will add the data of a set of cells to a master file, then reset the cells to zero at a certain time everyday.

can anyone help me with this problem?

thank you very much,
joe

22-08-2008 at 01:59 AM
View Profile Send Email to User Show All Posts | Quote Reply
patkam
Level: Scholar

Registered: 19-04-2004
Posts: 36
icon Re: daily function

Using Excel for this purpose may not be the most efficient way for what you want to do.

What you can do is to (assuming you are using Windows), schedule a task to run a VBScript (.vbs) file which can simply copy the Excel file with TimeStamp in the name then reset some cells to zero.  Then write a macro in the Master Excel file to process them when needed.

This is just one of the ideas popped in mind while reading.  

____________________________
Knowledge is there to share, not to hide!
-< PATKAM >-

14-04-2009 at 03:11 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VBA (Access, Excel, Word, ...) : daily function
Previous Topic (VBA Row Number)Next Topic (excel vb project created in 2000 not working correctly in 2002) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2009 Andrea Tincaniborder