ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   xlDialogTextToColumns arguments (https://www.excelbanter.com/excel-programming/280974-xldialogtexttocolumns-arguments.html)

Howie[_3_]

xlDialogTextToColumns arguments
 
Still trying to call the textToColumns wizard. The
documented argument list is:

destination_ref, data_type, text_delim, consecutive_delim,
tab, semicolon, comma, space, other, other_char, field_info

Get "No data was selected to parse" message when executing
code below. Could be the field_info, although I'm not
really sure what they are looking for there. Thanks for
any ideas.


Public Sub textToColumnsWiz()
With Application.Dialogs(xlDialogTextToColumns)
rc = .Show(Range("H19"), xlDelimited,
xlDoubleQuote, False, False, False, True, False, False,
Array(1, 2, 3))
End With
End Sub



All times are GMT +1. The time now is 09:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com