Split Worksheet into Several Worksheets

Latoya

New Member
Joined
Jun 30, 2011
Messages
12
Good afternoon! I am going to try and make this as simple as possible....

I have a worksheet that has 100 columns... Is there a way to break every 3 columns into a seperate worksheet. For example...

CurrentWorksheet

Column A is blank
Column B contains dates
Column C contains dollar amount
Column D is blank
Column E contains dates
Column F contains dollar amount

Need

Sheet1
Column A is blank
Column B contains dates
Column C contains dollar amount

Sheet2
Column A is blank
Column B contains dates
Column C contains dollar amount

Sheet3
Column A is blank
Column B contains dates
Column C contains dollar amount, etc....
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Good afternoon! I am going to try and make this as simple as possible....

I have a worksheet that has 100 columns... Is there a way to break every 3 columns into a seperate worksheet. For example...

CurrentWorksheet

Column A is blank
Column B contains dates
Column C contains dollar amount
Column D is blank
Column E contains dates
Column F contains dollar amount

Need

Sheet1
Column A is blank
Column B contains dates
Column C contains dollar amount

Sheet2
Column A is blank
Column B contains dates
Column C contains dollar amount

Sheet3
Column A is blank
Column B contains dates
Column C contains dollar amount, etc....


Untested:

Code:
Sub Latoya()
Dim lr As Long
Dim x As String
Dim no As Long

lr = Cells(Rows.Count, 1).End(xlUp).Row

no = 1

Do While Range("A1:C1") <> ""

x = "NewSheet"

Sheets.Add.Name = x & no

    Range("A1:C" & lr).Cut Sheets(x & no).Range("A" & Rows.Count).End(3)(2)
    Range("A1:C" & lr).Delete shift:=xlToLeft
    
    no = no + 1
    
Loop

End Sub
 
Upvote 0

Forum statistics

Threads
1,224,520
Messages
6,179,270
Members
452,902
Latest member
Knuddeluff

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top