|
-
May 11th, 2007, 03:04 PM
#1
Thread Starter
New Member
[2003] Excel+VBA: Save old doc to new location/delete previous doc
Here's my current issue, hopefully someone has some advice on this solution:
Basically, I have an excel doc saved somewhere on a networked drive. What I want, is if someone goes to that excel doc, clicks a button, it would save that excel doc to another location (i can do this already), and delete the old excel doc from the previous location.
I'm not sure how I would go about automating the delete process of the old excel doc. I can run a batch file, but a couple of problems arise there;
1) What if there are more than one excel docs in the folder. The batch file needs to know which one to delete.
2) How can an excel doc run a batch file if its already closed.
Not sure if there are answers to these other than it can't be done.
Any help would be appreciated. Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|