Hello Everyone,
I have a VBA that copies a given sheet from my workbook.xlsm to a new workbook.xlsx and saves it in a shared folder. It works just fine, but I want it to enable track changes on the new workbook.xlsx before closing it.
Since I'm not an expert on code, nor whatsoever!, I've just searched for the piece of code online. However, I've already tried a lot of combinations and none worked, I always get an error. Currently, I'm using this:
And getting this:
(Yes... The code gets highlighted... Just not the kind of highlight I want ?)
Can anyone help, please?
Thanks!
I have a VBA that copies a given sheet from my workbook.xlsm to a new workbook.xlsx and saves it in a shared folder. It works just fine, but I want it to enable track changes on the new workbook.xlsx before closing it.
Since I'm not an expert on code, nor whatsoever!, I've just searched for the piece of code online. However, I've already tried a lot of combinations and none worked, I always get an error. Currently, I'm using this:
VBA Code:
With ActiveWorkbook
.HighlightChangesOptions _
When:=xlAllChanges, _
Who:="Everyone"
.ListChangesOnNewSheet = False
.HighlightChangesOnScreen = True
End With
And getting this:
(Yes... The code gets highlighted... Just not the kind of highlight I want ?)
Can anyone help, please?
Thanks!