Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Can you manipulate text documents using VBA in excel

I'm tring to add a bit of code to my VBA in excel that will:

Save a text file in a directory as a new file in another directory.

Many Thanks

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Can you manipulate text documents using VBA in excel


"Sladey " schrieb im Newsbeitrag
...
I'm tring to add a bit of code to my VBA in excel that will:

Save a text file in a directory as a new file in another directory.

Many Thanks.


---
Message posted from http://www.ExcelForum.com/


Hi Sladey,

in other words: you want to copy a file from one directory to another? If
so:

FileCopy source, destination

is your friend. You can provide a fully classified file name for the
arguments.

FileCopy "c:\temp\myfile.txt", "c:\newdir\myfile.txt"

cheers,

Stephan




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
turning 2007 excel documents into 2003 excel documents La Shawn Dillon Excel Discussion (Misc queries) 2 February 15th 08 11:23 PM
excel documents won't open from my documents folder Paul1961 Excel Discussion (Misc queries) 2 January 15th 06 05:31 PM
Manipulate an excel column Bill R Excel Worksheet Functions 2 May 17th 05 07:01 PM
Manipulate Excel Bich Leu Excel Programming 3 August 25th 03 11:57 PM
excel 2000 - manipulate two applications Matt. Excel Programming 5 July 10th 03 03:38 PM


All times are GMT +1. The time now is 08:31 AM.

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"