PC Review


Reply
Thread Tools Rate Thread

Combining sheets with variable layout

 
 
glyn@amethystmailing.co.uk
Guest
Posts: n/a
 
      11th Mar 2008
Hi I imagine this must of come up before and there must be a solution
that already exists somewhere.

I regularly receive multiple workbooks or workbooks with multiple
sheets that need to be combined to one file to produce a list of
addresses etc.

curently I manually sort them to a standard layout and have VB scripts
of my own that will then combine either the books or the sheets
(mainly books).

I would love to have a soloution that will automatically combine these
sheets into one file removing the human error factor of getting one or
more out of sequence.

Points to note:

The data layout can change and may or may not include the same number
of fields/columns

I would rename the header in each book/sheet to be consistant (only
way i can see something working)

so in summary what i need is something that will arrange the books/
sheets into the same order and i can then combine them with the code I
already have.

Or something that will arrange and combine them.

I could simply do this with access by importing each file into a
standard table but it runs the risk of missing or duplicating a file.

Any info on a solution that exists or where to start programming one
would be of great help

 
Reply With Quote
 
 
 
 
Ron de Bruin
Guest
Posts: n/a
 
      11th Mar 2008
Hi

I have a lot of examples on my site
See if something is working for you

Maybe you can use the merge add-in ?
See the "Copy/Paste/Merge examples" section



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


<(E-Mail Removed)> wrote in message news:3449c8e1-a683-49a6-aad4-(E-Mail Removed)...
> Hi I imagine this must of come up before and there must be a solution
> that already exists somewhere.
>
> I regularly receive multiple workbooks or workbooks with multiple
> sheets that need to be combined to one file to produce a list of
> addresses etc.
>
> curently I manually sort them to a standard layout and have VB scripts
> of my own that will then combine either the books or the sheets
> (mainly books).
>
> I would love to have a soloution that will automatically combine these
> sheets into one file removing the human error factor of getting one or
> more out of sequence.
>
> Points to note:
>
> The data layout can change and may or may not include the same number
> of fields/columns
>
> I would rename the header in each book/sheet to be consistant (only
> way i can see something working)
>
> so in summary what i need is something that will arrange the books/
> sheets into the same order and i can then combine them with the code I
> already have.
>
> Or something that will arrange and combine them.
>
> I could simply do this with access by importing each file into a
> standard table but it runs the risk of missing or duplicating a file.
>
> Any info on a solution that exists or where to start programming one
> would be of great help
>

 
Reply With Quote
 
glyn@amethystmailing.co.uk
Guest
Posts: n/a
 
      11th Mar 2008
Thanks, looks interesting I will have a play with a few.
 
Reply With Quote
 
glyn@amethystmailing.co.uk
Guest
Posts: n/a
 
      11th Mar 2008
Hi Ron,

Great site

Had a quick play with the merge addin, fantastic addin however it does
not account for the fact that the data layout can be different in the
files I have eg

file 1
column A - Name
column B - Address
column C - Telephone

File 2
column A - Address
column B - Name
column C - Telephone

I need to shuffle all the data to be in the same layout this is the
crux of whats stumping me at the moment.

Glyn

 
Reply With Quote
 
glyn@amethystmailing.co.uk
Guest
Posts: n/a
 
      14th Mar 2008
No one any ideas on the simplest way to shuffle data on different
sheets or books to the same layout?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
combining several sheets together Fawn Microsoft Excel Programming 2 16th Aug 2008 05:21 PM
Combining two sheets into one a94andwi Microsoft Excel Programming 4 1st Jul 2006 01:39 PM
add new sheets in a workbook with new sheets being a variable hansjhamm@yahoo.com Microsoft Excel Misc 1 11th Apr 2006 08:38 PM
Combining sheets on one em8195 Microsoft Excel Worksheet Functions 5 3rd Nov 2005 11:40 PM
Combining Sheets esquire808 Microsoft Excel Discussion 12 6th Oct 2005 11:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:40 PM.