Hey Excel community,
I have tried different solution approaches from this thread but they don't seem to fit my specific situation (or I'm making a fundamental mistake, who knows haha).
I'm working on a document for meeting minutes and I want to paste the topics of the agenda to the worksheet of the minutes, but only specific cells.
This is the code I'm currently using, but it pastes the cells to the same row like they are in the original list with one empty row in between them. Would be fine, but since I will add meeting minutes, every top will be take a couple of rows (but I can' estimate for sure how many it will take, so I would manually add these.
How do I make the makro paste it to the first empty column?
(The table iI want to paste it in starts at row 8)
I'm not sure whether it's possible to upload the excel file, I didn't find it. If there is a way, I would do it if it helps.
I have tried different solution approaches from this thread but they don't seem to fit my specific situation (or I'm making a fundamental mistake, who knows haha).
I'm working on a document for meeting minutes and I want to paste the topics of the agenda to the worksheet of the minutes, but only specific cells.
This is the code I'm currently using, but it pastes the cells to the same row like they are in the original list with one empty row in between them. Would be fine, but since I will add meeting minutes, every top will be take a couple of rows (but I can' estimate for sure how many it will take, so I would manually add these.
Code:
Sub UpdateMinutes()
Dim Zeile As Long
Dim ZeileMax As Long
Dim n As Long
With Tabelle1
ZeileMax = .UsedRange.Rows.Count
n = 1
For Zeile = 1 To ZeileMax
If .Cells(Zeile, 10).Value = "1" Then
.Cells(Zeile, 1).Copy Destination:=Tabelle3.Cells(Zeile, 1).Rows(n)
.Cells(Zeile, 2).Copy Destination:=Tabelle3.Cells(Zeile, 2).Rows(n)
.Cells(Zeile, 4).Copy Destination:=Tabelle3.Cells(Zeile, 4).Rows(n)
.Cells(Zeile, 9).Copy Destination:=Tabelle3.Cells(Zeile, 6).Rows(n)
n = n + 1
End If
Next Zeile
End With
End Sub
How do I make the makro paste it to the first empty column?
(The table iI want to paste it in starts at row 8)
I'm not sure whether it's possible to upload the excel file, I didn't find it. If there is a way, I would do it if it helps.