Code: Select all
Selection.TextToColumns Destination:=Selection.Cells(1), DataType:=1, TextQualifier:=1, FieldInfo:=Array(1, 2)
Thx.
Code: Select all
Selection.TextToColumns Destination:=Selection.Cells(1), DataType:=1, TextQualifier:=1, FieldInfo:=Array(1, 2)
AHK does not allow named parameters so you have to put the parameters in the correct slot.zhanglei1371 wrote:this is a vba code for convert digit value to Str.but if i want to transform it to ahk,how to do ?Code: Select all
Selection.TextToColumns Destination:=Selection.Cells(1), DataType:=1, TextQualifier:=1, FieldInfo:=Array(1, 2)
Thx.
Code: Select all
xlApp := ComObjActive("Excel.Application")
xlApp.Selection.TextToColumns(xlApp.Selection.Cells(1), 1, 1,,,,,,,,Array(1,2))
Code: Select all
xlApp := ComObjActive("Excel.Application")
xlApp.Selection.TextToColumns(xlApp.Selection.Cells(1), 1, 1,,,,,,,,Array(1,2))
Users browsing this forum: skeerrt, StupidIdiotMoron and 153 guests