Hi,
I'm a newbie to excel and was wondering if someone could help me with this.
I have a sheet "Template" where I want to copy range C2:C6 and paste transposed to another sheet "Archive".
On "Archive", I have a table with already prefilled data on columns A:G from this code:
What I want to do is populate the rows from H:L with same data from C2:C6 paste transposed values and number formats only.
I managed to work out the paste transposed part but cannot seem to figure out the paste down until last row to match up on the A:G data for the life of me.
This is ideally what I want to do, where Date Discussed - Facilitator will just be the same entry for all items copied under the same code/batch:
Any inputs will be highly appreciated. Thank you!
I'm a newbie to excel and was wondering if someone could help me with this.
I have a sheet "Template" where I want to copy range C2:C6 and paste transposed to another sheet "Archive".
On "Archive", I have a table with already prefilled data on columns A:G from this code:
VBA Code:
Sub attendees()
Range("B13").Select 'from sheet "Template"
Range(Selection, Selection.End(xlToRight)).Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
With Sheets("Archive").Range("A" & Rows.Count).End(xlUp).Offset(1)
.PasteSpecial xlPasteValuesAndNumberFormats, Transpose:=False
End With
End Sub
What I want to do is populate the rows from H:L with same data from C2:C6 paste transposed values and number formats only.
I managed to work out the paste transposed part but cannot seem to figure out the paste down until last row to match up on the A:G data for the life of me.
VBA Code:
Sub topics()
Range("C2:C6").Select 'from sheet "Template"
Selection.Copy
With Sheets("Archive").Range("H" & Rows.Count).End(xlUp).Offset(1)
.PasteSpecial xlPasteValuesAndNumberFormats, Transpose:=True
End With
End Sub
This is ideally what I want to do, where Date Discussed - Facilitator will just be the same entry for all items copied under the same code/batch:
User Email | Join Time | Leave Time | Duration (Minutes) | Guest | Name | L1 | Date Discussed | Batch | Audience | Topic | Facilitator/s |
abc@sgadfa.com | 10/20/2022 14:51 | 10/20/2022 15:34 | 43 | No | asfdjgk | ;kadglsv | 10/20/2022 | 3 | asfdfa | asfdfa | asfdfa |
fjk@ladjgr.com | 10/20/2022 14:59 | 10/20/2022 15:34 | 35 | No | jdgsl | khglsdgl | 10/20/2022 | 3 | asfdfa | asfdfa | asfdfa |
htoak@akhdg.com | 10/20/2022 15:00 | 10/20/2022 15:34 | 34 | No | adgijg; | ljgst | 10/20/2022 | 3 | asfdfa | asfdfa | asfdfa |
adgjldngs@isutslg.com | 10/20/2022 14:51 | 10/20/2022 15:34 | 43 | No | fdjh | khdgsfv | 10/20/2022 | 3 | asfdfa | asfdfa | asfdfa |
Any inputs will be highly appreciated. Thank you!