ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Text to Columns using VB (https://www.excelbanter.com/excel-programming/317172-text-columns-using-vbulletin.html)

jtrevill

Text to Columns using VB
 

So - anyone know of a way to use Text To Columns, but by using V
instead?

Thanks

--
jtrevil
-----------------------------------------------------------------------
jtrevill's Profile: http://www.excelforum.com/member.php...fo&userid=1660
View this thread: http://www.excelforum.com/showthread.php?threadid=31463


Jim Thomlinson[_3_]

Text to Columns using VB
 
There is a split function for Delimited data. It returns an array of the
individual fields in the record.

"jtrevill" wrote:


So - anyone know of a way to use Text To Columns, but by using VB
instead?

Thanks!


--
jtrevill
------------------------------------------------------------------------
jtrevill's Profile: http://www.excelforum.com/member.php...o&userid=16601
View this thread: http://www.excelforum.com/showthread...hreadid=314637



Tim Williams

Text to Columns using VB
 
Selection.TextToColumns DataType:=xlDelimited, Comma:=True

Tim.


"jtrevill" wrote in message
...

So - anyone know of a way to use Text To Columns, but by using VB
instead?

Thanks!


--
jtrevill
------------------------------------------------------------------------
jtrevill's Profile:

http://www.excelforum.com/member.php...o&userid=16601
View this thread: http://www.excelforum.com/showthread...hreadid=314637





All times are GMT +1. The time now is 06:10 PM.

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