Silverhorne
New Member
- Joined
- Feb 21, 2015
- Messages
- 42
- Office Version
- 365
- 2019
- Platform
- Windows
Good Day!
I have been looking for a solution for this but have haven't been able to find the answer anywhere, my last resort is to post here, hopefully someone can help.
I am trying to create a macro that copies certain cells (C2 to C?) to the clipboard, these cells are populated depending on the number of tests completed to the item.
The cells in C2 to C7 are always populated but cell C5 is always blank.
I would like to copy the cells where the formula displays text, the dynamic cells will be C8 to C14.
The macro below finds the last row with formulas .End(xlUp) this is not what I want.
Sub SELECT_FOR_MAPPING()
Lrow = Range("C" & Rows.Count).End(xlUp).Row
Range("C2:C" & Lrow).Copy
End Sub
It important to know that the formulas in cells C9 to C14 have a formula that will leave a space in the cell, so they may appear to have text when it is just a space.
I have created a numbered list in B2 to B14 to use as a reference for a count function but I am not sure how to string the code together as am pretty new to the code part of excel.
Sorry, I can't get Xl2bb to do a mini sheet, only a table...I think it might have to do with the large formulas pulling the data into these cells.
Thanks in advance for any help.
I have been looking for a solution for this but have haven't been able to find the answer anywhere, my last resort is to post here, hopefully someone can help.
I am trying to create a macro that copies certain cells (C2 to C?) to the clipboard, these cells are populated depending on the number of tests completed to the item.
The cells in C2 to C7 are always populated but cell C5 is always blank.
I would like to copy the cells where the formula displays text, the dynamic cells will be C8 to C14.
The macro below finds the last row with formulas .End(xlUp) this is not what I want.
Sub SELECT_FOR_MAPPING()
Lrow = Range("C" & Rows.Count).End(xlUp).Row
Range("C2:C" & Lrow).Copy
End Sub
It important to know that the formulas in cells C9 to C14 have a formula that will leave a space in the cell, so they may appear to have text when it is just a space.
I have created a numbered list in B2 to B14 to use as a reference for a count function but I am not sure how to string the code together as am pretty new to the code part of excel.
Sorry, I can't get Xl2bb to do a mini sheet, only a table...I think it might have to do with the large formulas pulling the data into these cells.
Thanks in advance for any help.
1 | 1 | 128-MS-1-24-4 | 128-MS-1-24-4 | 11 | |||
2 | CCI-ST-8 | ||||||
3 | 18/Feb/2023 | ||||||
4 | |||||||
5 | LH LH C14 C14 | ||||||
6 | CR CR PG PG | ||||||
7 | MD 24"/12.7 mm | ||||||
8 | PH: test1 | ||||||
9 | RT: 20230218 RT TLH-01 | ||||||
10 | RT1: test1 | ||||||
11 | RT2: test1 | ||||||