LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default How to Combine Data Regions

Hi all,

I have a worksheet which holds the results of two database queries. I want
to combine the regions programmatically saving the results to a new sheet. I
cannot create a single query to retrieve the combined data.

The initial worksheet looks similar to the following illustration:
Sheet 1:
Region 1:
Header1a Header1b Header1c ... Header1(n)
Row1a Row1b Row1c ... Row1(n)
Row1a Row1b Row1c ... Row1(n)
.... ... ... ... ...
.... ... ... ... ...
Row(N)a Row(N)b Row(N)c ... Row(N)(n)

Region 2:
Header2a Header2b Header2c ... Header2(n)
Row1a Row1b Row1c ... Row1(n)
Row1a Row1b Row1c ... Row1(n)
.... ... ... ... ...
.... ... ... ... ...
Row(N)a Row(N)b Row(N)c ... Row(N)(n)

The regions are separated by one or more blank lines. I'm going to remove
the sorting, grouping, and subtotals being applied to each region. Finally,
I want to grab the data combining it onto a new sheet. The columns and
formatting will alight between the regions. I'm not sure how to pick up the
data.
 
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
Regions of Constant Slope Lex Excel Discussion (Misc queries) 1 June 2nd 10 08:32 PM
Area chart with multiple regions Steven Charts and Charting in Excel 1 November 4th 09 08:08 PM
How do I draw a quadrant with coloured regions in Excel? Sarabjit Excel Discussion (Misc queries) 3 June 29th 07 01:18 PM
Defining Regions with Names Elise148 Excel Discussion (Misc queries) 3 June 13th 07 02:19 PM
FILTER PARTNUMBER Where it match all 3 Regions Juan Excel Programming 1 August 15th 05 11:10 PM


All times are GMT +1. The time now is 01:58 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"