Hi Everyone,
I have a Marco which runs on a cell and uses text to column to split it twice. I have the below formula run on a button. However, I'd like it to run when cell J15 has changed. Would someone kindly advise on how this might look, please?
++++
Sub PostcodeMover()
'
' Macro3 Macro
'
'
Selection.TextToColumns Destination:=Range("AC42"), DataType:=xlFixedWidth _
, FieldInfo:=Array(Array(0, 1), Array(2, 1)), TrailingMinusNumbers:=True
Selection.TextToColumns Destination:=Range("AC41"), DataType:=xlFixedWidth _
, FieldInfo:=Array(Array(0, 1), Array(1, 1), Array(2, 1)), TrailingMinusNumbers _
:=True
Range("AC27:AC36").Select
Selection.Copy
End Sub
++++
I'm sure it's a really easy fix but I can't say I'm the best with VBA coding etc
Bookmarks