LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.newusers
lee lee is offline
external usenet poster
 
Posts: 184
Default Looping Question

Hello,

I have a workbook that has 50 sheets. I want to create a loop that will
copy each individual sheet to its own workbook and save it with a name.

This is what I have so far. Any help would be great.


Sheets("1").Select
Sheets("1").Copy
ActiveWorkbook.SaveAs Filename:= _
"C:\Documents and Settings\hola\Desktop\Legal Entity\Master LE
Files\WCA Individual Emails\World Class Accounting Responsibility - 1.xls" _
, FileFormat:=xlNormal, Password:="", WriteResPassword:="", _
ReadOnlyRecommended:=False, CreateBackup:=False
Windows("World Class Accounting Email.xls").Activate
Sheets("2").Select
Sheets("2").Copy
ActiveWorkbook.SaveAs Filename:= _
"C:\Documents and Settings\hola\Desktop\Legal Entity\Master LE
Files\WCA Individual Emails\World Class Accounting Responsibility - 2.xls" _
, FileFormat:=xlNormal, Password:="", WriteResPassword:="", _
ReadOnlyRecommended:=False, CreateBackup:=False
End Sub
 
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
How do I find and replace a question mark in Excel? Ranpalandil Excel Discussion (Misc queries) 1 September 7th 05 10:20 PM
Newbie With A Question Michael Excel Worksheet Functions 0 July 28th 05 11:50 PM
Anybody Help with previous question Anthony Excel Discussion (Misc queries) 1 July 26th 05 01:26 PM
looping question luke New Users to Excel 4 June 3rd 05 01:19 PM
Hints And Tips For New Posters In The Excel Newsgroups Gary Brown Excel Worksheet Functions 0 April 15th 05 05:47 PM


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