Hi all can anyone see an issue with the below code??
For Column = 12 To 18 For Row = 5 To 47 On Error GoTo no1 If Not Workbooks(Timesheet).Sheets("Timesheet").Cells(Row, Column).Comment.Text = "" Then Comment = Workbooks(Timesheet).Sheets("Timesheet").Cells(Row, Column).Comment.Text Workbooks(Temp).Sheets("Timesheet").Cells(Row, Column).AddComment.Text Comment End If no1: Next Next
for some reason it goes through once but then on the second time fails.
FYI thi part of the code copies a range then copies any comments made in that range to a new workbook, if anyone knows of a simple way to copy values and comments that would be easier, thanks.