Hi, I keep getting a break referring to "ThisWorkbook". Can anyone help?
For i = 2 To lastline
Columns("AL").Replace _
What:=ThisWorkbook.Sheets("Metric").Cells(i, 1), Replacement:=ThisWorkbooks.Sheets("Metric").Cells(i, 2), _
LookAt:=xlWhole, MatchCase:=False
Next
Any help on this would be appreciated - I have a suspicion this is a pretty basic question (at least I hope it is).
I have a formatted spreadsheet with unique identifiers for each row (unique identifier is in its own column). However one column of data is incorrect and needs to be replaced...
We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel
Which adblocker are you using?
Disable AdBlock
Follow these easy steps to disable AdBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the icon in the browser’s toolbar. 2)Click on the "Pause on this site" option.
Go back
Disable AdBlock Plus
Follow these easy steps to disable AdBlock Plus
1)Click on the icon in the browser’s toolbar. 2)Click on the toggle to disable it for "mrexcel.com".
Go back
Disable uBlock Origin
Follow these easy steps to disable uBlock Origin
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.
Go back
Disable uBlock
Follow these easy steps to disable uBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.