Hi Robert,
I have no problem with run on all ws but now I'm facing another error when I try to copy the new value and paste to other ws.
and now I got error "Object variable or With block variable not set" when I try to get the filename:
[Select Code] copy to clipboard
If Not rChange Is Nothing Then rChange.Value = "Fifth"
'''Set rng = Nothing: Set rChange = Nothing put here still same error happen
rChange.Offset(0, 8).Value = strFileFullName
rChange.EntireRow.Copy Destination:=Sheets("Sheet9").Cells(Rows.Count, 1).End(xlUp).Offset(1, 0)
Set rng = Nothing: Set rChange = Nothing
Next wstSheet
Please help me to fix it.
Regards,
tt3
Updated: I got it to work by add this line:
Bookmarks