Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Breaking One workbook into many Tabs

try this

Sub SendJohnafilteredemail()
Range("A1").AutoFilter Field:=1, Criteria1:="John"
ActiveSheet.Copy
Application.DisplayAlerts = False
With ActiveWorkbook
For i = Cells(Rows.Count, 1).End(xlUp).Row To 1 Step -1
If Rows(i).Hidden = True Then Rows(i).Delete
Next i
Range("a1").AutoFilter
.SendMail ", _
Subject:="Your File "
.Close SaveChanges:=False
End With

Range("a1").AutoFilter
Application.DisplayAlerts = True
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Darin Kramer" wrote in message
...

Hi There

I have a tab called "Master" with information on lines 2 to 130, and
Columns A to S. Column F has information that is repeated on several
lines (persons name) I want to break the single tab "master" into a
number of sub tabs, each tab containing the information relevant only to
the individual.

Thus for example

Rows 1, 4, 7 and 9 within Column F state John. I want to extract all
relevant info for John (ie contents of Rows 1,4 and 7) into a new tab
called John (such that I can send JOhn his tab)

Is there a way to break up the Master tab into sub tabs?

Regards

D


*** Sent via Developersdex
http://www.developersdex.com ***

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
Breaking One workbook into many Tabs Ron de Bruin Excel Programming 2 November 27th 09 09:24 PM
Breaking Data into Tabs Vick Excel Discussion (Misc queries) 3 March 20th 07 09:45 PM
Print all tabs to pdf when some have been added w/o breaking file DuaneD77 Excel Discussion (Misc queries) 2 December 9th 06 03:05 PM
Breaking a workbook into multiple books Doug Lowe Excel Programming 2 June 20th 06 09:47 PM
Select sheet tabs in workbook & save to separate workbook files stratocaster Excel Worksheet Functions 2 March 1st 06 03:35 PM


All times are GMT +1. The time now is 07:39 AM.

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"