ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Parse database into several files based on column D (https://www.excelbanter.com/excel-programming/311647-parse-database-into-several-files-based-column-d.html)

Steph[_3_]

Parse database into several files based on column D
 
Hi everyone. I have a database-like worksheet with many many columns. One
column (column D) has warehouse location. I would like to take the one
database sheet and parse it into several 1 sheet workbooks - 1 for each
warehouse location. Not knowing too much about sophisticated VB, I assume
I'd do some dort of loop here? Can someone help a beginner in need? Thank
you so much. Bye.



Debra Dalgleish

Parse database into several files based on column D
 
The sample workbook here, named 'Update Sheets from Master' might help
you get started:

http://www.contextures.com/excelfiles.html#Filter

Steph wrote:
Hi everyone. I have a database-like worksheet with many many columns. One
column (column D) has warehouse location. I would like to take the one
database sheet and parse it into several 1 sheet workbooks - 1 for each
warehouse location. Not knowing too much about sophisticated VB, I assume
I'd do some dort of loop here? Can someone help a beginner in need? Thank
you so much. Bye.


--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html


Steph[_3_]

Parse database into several files based on column D
 
Thanks Debra. That's exactly what I was looking for! But I must say, a
whole lot more complex than I was anticipating!!! Thanks again.

"Debra Dalgleish" wrote in message
...
The sample workbook here, named 'Update Sheets from Master' might help you
get started:

http://www.contextures.com/excelfiles.html#Filter

Steph wrote:
Hi everyone. I have a database-like worksheet with many many columns.
One column (column D) has warehouse location. I would like to take the
one database sheet and parse it into several 1 sheet workbooks - 1 for
each warehouse location. Not knowing too much about sophisticated VB, I
assume I'd do some dort of loop here? Can someone help a beginner in
need? Thank you so much. Bye.


--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html




NickHK

Parse database into several files based on column D
 
Steph,
If you source WB is structured into tables, you could use a query to pull
out the required data.
Check out the Data Get External Data New Database Query menu item.

NickHK

"Steph" wrote in message
...
Hi everyone. I have a database-like worksheet with many many columns.

One
column (column D) has warehouse location. I would like to take the one
database sheet and parse it into several 1 sheet workbooks - 1 for each
warehouse location. Not knowing too much about sophisticated VB, I assume
I'd do some dort of loop here? Can someone help a beginner in need?

Thank
you so much. Bye.






All times are GMT +1. The time now is 12:11 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com