hi excel master
I have a VBA code like this
the code above does not work as I expected,
I want the source to come from sheet AA
but the destination is on sheet BB
How to do this?
Thank you in advance
I have a VBA code like this
Code:
Application.DisplayAlerts = False
bs = 17
For i = 19 To 100 Step 6
Set obj = Sheets("[COLOR=#0000ff][B]AA[/B][/COLOR]").Cells(32, i)
obj.TextToColumns _
Destination:=Sheets("[COLOR=#ff0000][B]BB[/B][/COLOR]").Cells(bs, 6), DataType:=xlDelimited, OtherChar:="x"
bs = bs + 1
Next
the code above does not work as I expected,
I want the source to come from sheet AA
but the destination is on sheet BB
How to do this?
Thank you in advance