Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default [VBA] Creating sheets based on criteria

Hi

I have a workbook with something like 25000 rows and 40 columns. I would
like to split this into about 45 seperate workbooks based on values in
certain rows.

Example: K2:K25000 contains the values null, EEP, CHKN and LFAN. O2:O25000
contains the values null, MICO and MKA. I would like a new workbook for each
of EEP, CHKN, LFAN, MICO and MKA. Not the null values. I each workbook I
would like only the rows where the value (as in EEP or MICO) is present but
all the columns. This may be 30 rows or it may be 1000+ rows.

I have no idea where to start on this one. Any help would be greatly
appreciated!

Thanks.
/Sune
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default [VBA] Creating sheets based on criteria

Hi Sune

Try this
http://www.rondebruin.nl/copy5.htm

Post back if you need more help

--
Regards Ron de Bruin
http://www.rondebruin.nl


"Sune Fibaek" wrote in message ...
Hi

I have a workbook with something like 25000 rows and 40 columns. I would
like to split this into about 45 seperate workbooks based on values in
certain rows.

Example: K2:K25000 contains the values null, EEP, CHKN and LFAN. O2:O25000
contains the values null, MICO and MKA. I would like a new workbook for each
of EEP, CHKN, LFAN, MICO and MKA. Not the null values. I each workbook I
would like only the rows where the value (as in EEP or MICO) is present but
all the columns. This may be 30 rows or it may be 1000+ rows.

I have no idea where to start on this one. Any help would be greatly
appreciated!

Thanks.
/Sune



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default [VBA] Creating sheets based on criteria

Thank you!

It seems to be what I'm looking for. I'll have to look into it tomorrow. I
might beback for more advice!

/Sune

"Ron de Bruin" wrote:

Hi Sune

Try this
http://www.rondebruin.nl/copy5.htm

Post back if you need more help

--
Regards Ron de Bruin
http://www.rondebruin.nl


"Sune Fibaek" wrote in message ...
Hi

I have a workbook with something like 25000 rows and 40 columns. I would
like to split this into about 45 seperate workbooks based on values in
certain rows.

Example: K2:K25000 contains the values null, EEP, CHKN and LFAN. O2:O25000
contains the values null, MICO and MKA. I would like a new workbook for each
of EEP, CHKN, LFAN, MICO and MKA. Not the null values. I each workbook I
would like only the rows where the value (as in EEP or MICO) is present but
all the columns. This may be 30 rows or it may be 1000+ rows.

I have no idea where to start on this one. Any help would be greatly
appreciated!

Thanks.
/Sune




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default [VBA] Creating sheets based on criteria

John,

Thanks. I couldn't quite get i to work, but I'm looking into it tomorrow.

Thanks for your input.

/Sune

"John" wrote:

On Mon, 10 Oct 2005 14:05:01 -0700, "Sune Fibaek"
wrote:

Hi

I have a workbook with something like 25000 rows and 40 columns. I would
like to split this into about 45 seperate workbooks based on values in
certain rows.

Example: K2:K25000 contains the values null, EEP, CHKN and LFAN. O2:O25000
contains the values null, MICO and MKA. I would like a new workbook for each
of EEP, CHKN, LFAN, MICO and MKA. Not the null values. I each workbook I
would like only the rows where the value (as in EEP or MICO) is present but
all the columns. This may be 30 rows or it may be 1000+ rows.

I have no idea where to start on this one. Any help would be greatly
appreciated!


This thread should help you get started.

http://groups.google.com/groups?as_q...005&safe=o ff

or

http://tinyurl.com/aqg55



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
Sum sheets based on criteria npop03 Excel Worksheet Functions 5 July 22nd 09 09:58 PM
Min/Max based on criteria (2 sheets) Jean-Francois Gauthier Excel Worksheet Functions 1 December 17th 08 07:20 PM
CREATING FORMULA IN ONE WORKSHEET BASED ON MULTIPLE CRITERIA IN AN Etg-Para Excel Worksheet Functions 2 July 24th 08 05:33 AM
Creating function to insert data based on criteria Tami Excel Worksheet Functions 1 August 18th 06 10:42 PM
creating new sheets based on specific data dfeld71 Excel Programming 1 June 9th 05 07:33 PM


All times are GMT +1. The time now is 08:19 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"