Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Copy excel file to subfolder

Hi...

I created a sub folder called Title Work under main folder called 04_X.
X=cell value in excel
d = "S:\Order Folders\2004 Open Orders\" & "\04_" & cell.Value & "\Title
Work"
Mkdir d

***My problem is he
I am trying to copy an excel file to that sub folder.
I believe the excel file QA.xls is not recognizing 04_cell.value. How
can I copy QA.xls to the subfolder??

I tried this code:
FileCopy "S:\Order Folders\QA.xls", "S:\Order Folders\2004 Open
Orders\04_ & cell.Value\Title Work\QA.xls"

This is my file folder sequence:
Order Folders
2004 Open Orders
04_XXX (this is the main file folder)
Title Work (subfolder)
QA.xls (wish to have this file in subfolder Title Work)

Thanks much for your help & continue to enjoy life!!
Myrna



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
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
Saving a workbook by creating a folder & subfolder Gaura215 Excel Worksheet Functions 0 February 1st 11 10:47 AM
Excel links to subfolder Mark Farrell Excel Discussion (Misc queries) 1 May 23rd 08 08:21 PM
Importing from a subfolder in your Inbox into excel Terri Excel Discussion (Misc queries) 1 February 22nd 07 06:58 PM
subfolder Loop? But, only one.... foamfollower Excel Programming 1 November 12th 03 01:37 AM
how to step thru only one subfolder of a folder to find like files foamfollower Excel Programming 1 November 11th 03 08:40 PM


All times are GMT +1. The time now is 10:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"