ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   taking two worksheets together (https://www.excelbanter.com/excel-worksheet-functions/91938-taking-two-worksheets-together.html)

Jens Ravens

taking two worksheets together
 
Hi,
I have this problem:
I have a worksheet as a table of books in our school library. Today we
typed the whole table in. To make this faster we used 2 Computers. Now
we have 2 tables, each with parts of tha data. How can we make 1 table
out of them? Please Help me.

SiC

taking two worksheets together
 
Sounds like you just need to highlight table 2, copy it, and paste it to the
bottom of table 1. Then you can sort and format the combined table as you
wish.

-Simon

"Jens Ravens" wrote:

Hi,
I have this problem:
I have a worksheet as a table of books in our school library. Today we
typed the whole table in. To make this faster we used 2 Computers. Now
we have 2 tables, each with parts of tha data. How can we make 1 table
out of them? Please Help me.


Jens Ravens

taking two worksheets together
 

That woun't work. The problem is, that in table1 for example A1, A8 and
A4628 have data, in table2 A2, A23, A477. So if I paste table 2 in table
1, the data of table on disappears.
Sounds like you just need to highlight table 2, copy it, and paste it to the
bottom of table 1. Then you can sort and format the combined table as you
wish.

-Simon

"Jens Ravens" wrote:

Hi,
I have this problem:
I have a worksheet as a table of books in our school library. Today we
typed the whole table in. To make this faster we used 2 Computers. Now
we have 2 tables, each with parts of tha data. How can we make 1 table
out of them? Please Help me.


Jens Ravens

taking two worksheets together
 
I have found something myself:

Public Sub buch_uebertragen()
Dim uebertrag(1 To 10) As String
Dim i As Integer
Dim j As Integer
For i = 1 To 5000
If ActiveCell.Offset(i - 1, 0).Value = "" Then
Sheets("book2").Activate
For j = 1 To 10
uebertrag(j) = ActiveCell.Offset(i - 1, j - 1).Value
Next
Sheets("book").Activate
For j = 1 To 10
ActiveCell.Offset(i - 1, j - 1).Value = uebertrag(j)
Next
End If
Next
End Sub


All times are GMT +1. The time now is 02:23 AM.

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