Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 22nd, 2007, 07:33 AM
Registered User
 
Join Date: Nov 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Moving files based on an Excel file

I have a folder which contains .txt files with various names, let's say A1.txt, A2.txt...up to, say, A1000.txt. I also have an Excel (or .txt) file containing a subset of these names, say A3.txt, A15.txt, A24.txt....etc.
I want to feed that file to the System so that it can 'go' to my original folder, copy the .txt files whose names are mentioned in that Excel file, and paste them in another folder of my choice. Simple as that. I would be happy to pay for that application, though, so if you're interested, please email me at nikos@winner.gr.
Thanks.

Nikolaos Sachtaridis

 
Old November 26th, 2007, 12:39 PM
Friend of Wrox
 
Join Date: Feb 2007
Posts: 163
Thanks: 0
Thanked 2 Times in 2 Posts
Default

If all you need is help coding it then explain the part you're having problems with. This should be relatively simple to code either with or without using a form. Should take maybe 15-30 minutes to code either way.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving files to new drive HaileyJ Windows Server 2 August 5th, 2008 10:59 AM
Moving OCX Files amd2003 Beginning VB 6 10 April 30th, 2008 01:08 PM
Moving files from one folder to another sachtaridis C# 1 November 23rd, 2007 04:33 AM
ASP.Net Moving Chart to Excel Sheet 2 sili18 General .NET 0 June 15th, 2007 12:39 PM
Moving data from Excel to Access ChrisWalsh Excel VBA 1 April 14th, 2005 12:13 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.