Hello,
i need your help to edit a macro:
i have a macro that searches through each spreasheets in a workbook and returns the last row for each shape (print screen) in the sheets.
i would need to edit the code so that i will only return the last row for the LAST SHAPE in the first spreadsheet.
can you help please? i stuck..
i need your help to edit a macro:
i have a macro that searches through each spreasheets in a workbook and returns the last row for each shape (print screen) in the sheets.
i would need to edit the code so that i will only return the last row for the LAST SHAPE in the first spreadsheet.
can you help please? i stuck..
Code:
Sub Find_Image_Range_In_Excel()
Dim sht As Worksheet
Dim shp As shape
For Each sht In Sheets
For Each shp In sht.Shapes
MsgBox "last image cell row is" & shp.BottomRightCell.Row
End If
Next
Next sht
End Sub