decadence
Well-known Member
- Joined
- Oct 9, 2015
- Messages
- 525
- Office Version
- 365
- 2016
- 2013
- 2010
- 2007
- Platform
- Windows
Hi can someone help to turn it into to an array, I have tried to do an array but got nowhere, if not maybe help with tidying it up.
Thanks
Thanks
Code:
With ActiveSheet.UsedRange
Set c = .Find("Ref-Designator", LookIn:=xlValues)
ActiveSheet.Range(c.Address).EntireColumn.Cut Destination:=Range("AA:AA")
Set c = .Find("X Offset", LookIn:=xlValues)
Application.ScreenUpdating = False
ActiveSheet.Range(c.Address).EntireColumn.Cut Destination:=Range("AB:AB")
Set c = .Find("Y Offset", LookIn:=xlValues)
Application.ScreenUpdating = False
ActiveSheet.Range(c.Address).EntireColumn.Cut Destination:=Range("AC:AC")
Set c = .Find("Angle", LookIn:=xlValues)
Application.ScreenUpdating = False
ActiveSheet.Range(c.Address).EntireColumn.Cut Destination:=Range("AD:AD")
End With
Last edited: