ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   conversion (https://www.excelbanter.com/excel-discussion-misc-queries/239581-conversion.html)

bailey

conversion
 
I would like to convert a column of names into individual sheets

Gord Dibben

conversion
 
Assuming column of names is A

Sub Add_Sheets22()
Dim rCell As Range
For Each rCell In ActiveSheet.Range("A1:A80") 'edit range to suit
With Worksheets.Add(After:=Worksheets(Worksheets.Count) )
.Name = rCell.Value
End With
Next rCell
End Sub

No error-trapping so will crash out if blank cells in the range.


Gord Dibben MS Excel MVP

On Wed, 12 Aug 2009 14:41:02 -0700, Bailey
wrote:

I would like to convert a column of names into individual sheets




All times are GMT +1. The time now is 02:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com