add this code to new workbook and run the macro and choose the csv file

Option Compare Text



Sub swa()

Application.ScreenUpdating = False
Application.DisplayAlerts = False
Dim s As Workbook
Dim i, j, k As Long
Set s = Workbooks.Open(Application.GetOpenFilename)
j = 1
For i = 1 To s.Sheets(1).Range("a1048576").End(xlUp).Row

s.Activate
If s.Sheets(1).Cells(i, 1).Value = "TITLERIGHT" Then
k = i
s.Sheets(1).Rows(j & ":" & k).Copy
ThisWorkbook.Activate
 ThisWorkbook.Sheets.Add After:=Sheets(Sheets.Count)
ActiveSheet.Range("a1").Select

ActiveSheet.Paste
j = i

i = i + 1

End If


Next i
ThisWorkbook.Sheets(4).Activate

Application.ScreenUpdating = True
Application.DisplayAlerts = True

End Sub


On Fri, Jul 8, 2011 at 3:49 AM, ICWAI Help <icwai.answ...@gmail.com> wrote:

> Hi Ashish,
>
> i have date in sheet its huge date i want the date between The row
> highlighted *TITLE RIGHT should copy into new sheet*
> *like *
> **
> *1, first select hte data between Two Title right and paste into new
> sheet.*
> *total we need to create 80 sheets as i have huge data.*
> **
> **
> *Thanks,*
> *Rakesh.*
>
> --
>
> ----------------------------------------------------------------------------------
> Some important links for excel users:
> 1. Follow us on TWITTER for tips tricks and links :
> http://twitter.com/exceldailytip
> 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
> 3. Excel tutorials at http://www.excel-macros.blogspot.com
> 4. Learn VBA Macros at http://www.quickvba.blogspot.com
> 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
>
> To post to this group, send email to excel-macros@googlegroups.com
>
> <><><><><><><><><><><><><><><><><><><><><><>
> Like our page on facebook , Just follow below link
> http://www.facebook.com/discussexcel
>



-- 
*Regards*
* *
*Ashish Koul*
*akoul*.*blogspot*.com <http://akoul.blogspot.com/>
http://akoul.posterous.com/
*akoul*.wordpress.com <http://akoul.wordpress.com/>
My Linkedin Profile <http://in.linkedin.com/pub/ashish-koul/10/400/830>


P Before printing, think about the environment.

-- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 
To post to this group, send email to excel-macros@googlegroups.com

<><><><><><><><><><><><><><><><><><><><><><>
Like our page on facebook , Just follow below link
http://www.facebook.com/discussexcel

Reply via email to