Hello all,
Is there a VBA code to select from range A3 to used range of A columns to do Text to columns delimited with spaces?
I tried to do with record macro but I couldn't achieve it
Hello all,
Is there a VBA code to select from range A3 to used range of A columns to do Text to columns delimited with spaces?
I tried to do with record macro but I couldn't achieve it
what about the command texttocolumns? do you know how to use that?
it is found under the Data menu, then goto Data Tools and select Text to Columns.
do you need further help?
@dmcgov
I'm looking for code to automate. Thanks for your reply
![]()
Sub TextToCol() Dim lr As Long lr = Range("A" & Rows.Count).End(xlUp).Row Range("A1:A" & lr).TextToColumns Destination:=Range("A1"), DataType:=xlDelimited, _ TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=True, Tab:=False, _ Semicolon:=False, Comma:=False, Space:=True, Other:=False, FieldInfo _ :=Array(Array(1, 1), Array(2, 1)), TrailingMinusNumbers:=True End Sub
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
Thanks for the code Alan!! It works fine!!
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks