Matheson843
New Member
- Joined
- Aug 9, 2013
- Messages
- 6
Hi
The code posted by texaslynn in the link below works perfectly for the beginning of what I'm trying to do. However, I already have a tab with a name that matches one of the data names in the column that is being broken out. When the macro runs, the already created tab is overwritten with the data that is being broken out from the selected column.
My question: Is there a way to break out data based on what is in column "A". While naming the new sheet the same as the data but with a variant such as (2) or (a) at the end of the name.
Example: I already have a tab for "Ford" however I am trying to break out the data into new sheets based on column A "Cars." When I run your macro the pre-existing "Ford" tab is overwritten by the data broken out from column A "Cars." I would like to be able to break the data in column A "Cars" into tabs such as "Ford(a)" or "Ford(2)" so that the data doesn't overwrite. Is this possible? Thanks in advance!!!
Here is a link to the similiar post: http://www.mrexcel.com/forum/excel-...s-move-rows-another-sheet-based-criteria.html
[TABLE="class: cms_table"]
<TBODY>[TR]
[TD="class: cms_table_xl65"]Cars
[/TD]
[TD="class: cms_table_xl65"]Price
[/TD]
[TD="class: cms_table_xl65, width: 64, bgcolor: transparent"]Year
[/TD]
[TD="class: cms_table_xl65, width: 64, bgcolor: transparent"]Color
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Ford
[/TD]
[TD="bgcolor: transparent"]30K
[/TD]
[TD="class: cms_table_xl66, bgcolor: transparent"]2011
[/TD]
[TD="bgcolor: transparent"]Blue
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Chevy
[/TD]
[TD="bgcolor: transparent"]38K
[/TD]
[TD="class: cms_table_xl66, bgcolor: transparent"]2013
[/TD]
[TD="bgcolor: transparent"]Green
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Ferrari
[/TD]
[TD="bgcolor: transparent"]60K
[/TD]
[TD="class: cms_table_xl66, bgcolor: transparent"]2012
[/TD]
[TD="bgcolor: transparent"]Red
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Nissan
[/TD]
[TD="bgcolor: transparent"]40K
[/TD]
[TD="class: cms_table_xl66, bgcolor: transparent"]2010
[/TD]
[TD="bgcolor: transparent"]Red
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Toyota
[/TD]
[TD="bgcolor: transparent"]25K
[/TD]
[TD="class: cms_table_xl66, bgcolor: transparent"]2011
[/TD]
[TD="bgcolor: transparent"]Black
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Honda
[/TD]
[TD="bgcolor: transparent"]26K
[/TD]
[TD="class: cms_table_xl66, bgcolor: transparent"]2010
[/TD]
[TD="bgcolor: transparent"]White
[/TD]
[/TR]
</TBODY>[/TABLE]
The code posted by texaslynn in the link below works perfectly for the beginning of what I'm trying to do. However, I already have a tab with a name that matches one of the data names in the column that is being broken out. When the macro runs, the already created tab is overwritten with the data that is being broken out from the selected column.
My question: Is there a way to break out data based on what is in column "A". While naming the new sheet the same as the data but with a variant such as (2) or (a) at the end of the name.
Example: I already have a tab for "Ford" however I am trying to break out the data into new sheets based on column A "Cars." When I run your macro the pre-existing "Ford" tab is overwritten by the data broken out from column A "Cars." I would like to be able to break the data in column A "Cars" into tabs such as "Ford(a)" or "Ford(2)" so that the data doesn't overwrite. Is this possible? Thanks in advance!!!
Here is a link to the similiar post: http://www.mrexcel.com/forum/excel-...s-move-rows-another-sheet-based-criteria.html
[TABLE="class: cms_table"]
<TBODY>[TR]
[TD="class: cms_table_xl65"]Cars
[/TD]
[TD="class: cms_table_xl65"]Price
[/TD]
[TD="class: cms_table_xl65, width: 64, bgcolor: transparent"]Year
[/TD]
[TD="class: cms_table_xl65, width: 64, bgcolor: transparent"]Color
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Ford
[/TD]
[TD="bgcolor: transparent"]30K
[/TD]
[TD="class: cms_table_xl66, bgcolor: transparent"]2011
[/TD]
[TD="bgcolor: transparent"]Blue
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Chevy
[/TD]
[TD="bgcolor: transparent"]38K
[/TD]
[TD="class: cms_table_xl66, bgcolor: transparent"]2013
[/TD]
[TD="bgcolor: transparent"]Green
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Ferrari
[/TD]
[TD="bgcolor: transparent"]60K
[/TD]
[TD="class: cms_table_xl66, bgcolor: transparent"]2012
[/TD]
[TD="bgcolor: transparent"]Red
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Nissan
[/TD]
[TD="bgcolor: transparent"]40K
[/TD]
[TD="class: cms_table_xl66, bgcolor: transparent"]2010
[/TD]
[TD="bgcolor: transparent"]Red
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Toyota
[/TD]
[TD="bgcolor: transparent"]25K
[/TD]
[TD="class: cms_table_xl66, bgcolor: transparent"]2011
[/TD]
[TD="bgcolor: transparent"]Black
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Honda
[/TD]
[TD="bgcolor: transparent"]26K
[/TD]
[TD="class: cms_table_xl66, bgcolor: transparent"]2010
[/TD]
[TD="bgcolor: transparent"]White
[/TD]
[/TR]
</TBODY>[/TABLE]