Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default Can you copy a Excel file to a new directory and rename it?

What I want to do is have an Excel sheet with file names in it. Like
Tester.xls in a cell

Then a macro that does this.
From those file names I want to make a new Exel file with the data from the
file.
Change the new file name.
Insert a picture into the first line

The files will be in the same directory they will just have different names.
I want the macro to do this for every file name. Is this possible?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,123
Default Can you copy a Excel file to a new directory and rename it?

Make a copy of the folder and run this macro to do what you want on that folder
http://www.rondebruin.nl/copy4.htm

You can change my example code to code that insert a picture.


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"pokdbz" wrote in message ...
What I want to do is have an Excel sheet with file names in it. Like
Tester.xls in a cell

Then a macro that does this.
From those file names I want to make a new Exel file with the data from the
file.
Change the new file name.
Insert a picture into the first line

The files will be in the same directory they will just have different names.
I want the macro to do this for every file name. Is this possible?

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
Why is Word, Excel saving a backup copy in my temp directory? daddyribs Excel Discussion (Misc queries) 1 April 19th 06 04:24 PM
Excel should let me sort the file directory when saving a file Beanee70 Excel Discussion (Misc queries) 0 March 14th 06 07:03 AM
Excel Slow File Open Directory Response Dave P Excel Discussion (Misc queries) 0 September 30th 05 01:37 AM
How do I insert the directory path in my Excel file? Insert a Directory Path in Header/Footer Excel Worksheet Functions 2 February 4th 05 09:23 PM
How do I force an Excel macro to ask me which file and directory? Ramius Excel Discussion (Misc queries) 4 January 14th 05 03:26 PM


All times are GMT +1. The time now is 08:28 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"