Hi All
I have a macro that imports an XML file, removes the namespace from the schema headers
So effectively left with a large table (A1:CC127385)
When I then try to perform some simple actions on this, I get Error 7. When using less data (smaller range) it works fine no problem
Thoughts?
Thanks guys
I have a macro that imports an XML file, removes the namespace from the schema headers
So effectively left with a large table (A1:CC127385)
When I then try to perform some simple actions on this, I get Error 7. When using less data (smaller range) it works fine no problem
Thoughts?
Code:
With oWS
.UsedRange.Value = oWS.UsedRange.Value 'prevent numbers stored as text
.Name = "XML Data"
.Tab.Color = 49407
.AutoFilterMode = False
.Cells(1, nLastCol).AutoFilter
.Range("A2").Select 'for Freeze Panes
End With
ActiveWindow.FreezePanes = True
Thanks guys