creating additional files automatically (diff. file names) :: MrExcel Message Board


 FAQFAQ
   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   FavoritesFavorites   StatisticsStatistics 
 RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Online StoreOnline Store

MrExcel Message Board Forum Index -> Excel Questions

creating additional files automatically (diff. file names)
Post new topic   Reply to topic
Last Thread | Next Thread  >   Printable version
  Author    Thread

saraMfoss
Board Regular


Joined: 27 Sep 2002
Posts: 7

Flag: Canada

Status: Offline

 Reply with quote  

creating additional files automatically (diff. file names)

Hi,

icon_help.gif
1)i have a file with 4-5 sheets (depending on whether it's a 4 week or 5 week fiscal period).
2)i have 6 of these files (one for each district) so the format is exactly the same for each district (except for a few cells in each that correspond to branch numbers within the district)
3) right now i have only created september files for each district. i need to create oct 2003 through to dec 2004.
4) the file name format is "SEP'03 DTS BC" (where BC is a district name)
5) the slow way to create the other files would be to open each district file and do a 'save as' for each month. which means i'd have to change the period number on the main sheet.
6) is there a quicker way to do this?

i thought that maybe i could have another data file that just had period numbers and it would somehow "magically" create all these other files.

also: there is a folder for each month, ie. SEP'03
and the 6 district files, ie "SEP'03 DTS ATL" within

Please help if you can. need to finish somtime on Monday (09/22)
THANKS!!!

Post Fri Sep 19, 2003 10:48 pm 
 View user's profile Send private message

Nimrod
MrExcel MVP


Joined: 30 Apr 2002
Posts: 2550
Location: Vancouver BC , Canada

Status: Offline

 Reply with quote  

Re: creating additional files automatically (diff. file name

Hello Sara icon_biggrin.gif

Just a quick tip , or suggestion , for use of this board. You may find people more willing to give assistance with your projects if they feel your contributing or making an attempt to solve the problem as well.
You may find people more reluctant to get involved if you expect them to do all the work . Especially when the OP expects the work to be done by a deadline as well.
_________________
NOTE: (Testing performed on Win2K utilizing Office 2000. Solutions may need tweaking for other versions.)
Adieu,Nimrod

Post Sun Sep 21, 2003 6:22 pm 
 View user's profile Send private message AIM Address

saraMfoss
Board Regular


Joined: 27 Sep 2002
Posts: 7

Flag: Canada

Status: Offline

 Reply with quote  

Re: creating additional files automatically (diff. file name

Well thank you very much.

Maybe I’m not an Excel expert/guru/god (whatever you call yourself) and I actually do need REAL help with problems that seem simple.
Maybe I should have rephrased my question so that I didn't give off the impression that I’m just sitting here waiting for the world to solve all my problems without me "contributing or making an attempt to solve the problem".
I'm not sure if you were looking for me to provide you with a LONG explanation of all the little things I tried to do ON MY OWN before coming to the board for assistance.
I thought that including as much information as I could, including the deadline, would be helpful to the person wanting to help me.
I take full blame for assuming that the Excel experts/gurus/gods out there would know of a common formula that is used to create additional files.

And I'd just like to ask you if you stopped to consider that by posting your most "helpful" reply do you think it's quite possible there is someone out there who may very well have a solution for me but shied away from posting a reply so as not to be on the receiving end of your HELP?

whatever. if someone has a solution - great.
thanks.

Post Mon Sep 22, 2003 3:56 pm 
 View user's profile Send private message

George J
Board Master


Joined: 16 Feb 2002
Posts: 375
Location: Edinburgh, Bonnie Scotland
Flag: Scotland

Status: Offline

 Reply with quote  

Re: creating additional files automatically (diff. file name

OK you two, step back ten paces, then start swinging those handbags. icon_iwantatten.gif

Sara, Nimrod was just trying to give some pointers, not taking a dig at you - you may note his 1600+ posts. We really do try to be quite helpful.

The deadline was what stopped me from replying when i first saw your post - there was no way i would have been able to give any real help in that time as too many questions still needed to be asked.

worksheets.copy
in a macro will create a duplicate of the workbook in which it was run. You mentioned that a period number was on the main sheet. What is the cell, sheet name and contents supposed to be?

Is there a particular way we can work out if there is a 4 or 5 week fiscal period or should you just tell us when this takes place (if it is too complex to explain)

The file names will be different for the districts - can you give a brief example of a few filenames for each district and where the files are to be saved?

We will probably have a few more questions, if it is not too late, so please don't get mad if we seem to be going in circles for a while icon_eek.gif

The time differences may also throw out the time of replies icon_nervous.gif but hopefully you'll be satisfied with the result icon_pray.gif

We remain, i'm sure Nimrod will agree, your dedicated Gods icon_twisted.gif
_________________
George J

Post Mon Sep 22, 2003 10:21 pm 
 View user's profile Send private message Send e-mail
  Display posts from previous:      

MrExcel Message Board Forum Index -> Excel Questions


Forum Jump:
Jump to:  

Post new topic   Reply to topic
Page 1 of 1



Add To Favorites

 


Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB: 2.0.4 © 2001 phpBB Group

Need help posting your first question? Read how to post

Need extra help ? Couldn't get the answer you needed ? Get a free quote from our Consulting Team

Download Colo's HTML Maker utility for displaying your Excel Worksheet on the board.

Download VB HTML Maker to post your code on the board


Check out our new index to 485 Excel Articles.


Return to MrExcel Consulting

All contents Copyright 1998-2004 by MrExcel.com
If you believe information posted here is from your copyrighted source, notify us per the Terms of Use
Excel is a registered trademark of the Microsoft Corporation.
MrExcel is a registered trademark of Tickling Keys, Inc.