realbasic-nug
[Top] [All Lists]

Re: Office Automation TexttoColumns

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Office Automation TexttoColumns
From: Sean Arney <sean at rulessoftware dot com>
Date: Wed, 30 Nov 2005 15:42:33 -0600
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Thread-index: AcX14B+BMbKnejLsSa2R1M8W4e0AYQAEwxIQAADzLsY=
Thread-topic: Office Automation TexttoColumns
> Excel.Range("A1").TexttoColumns
> 
> 
> The above line does split the row up into multiple columns. It appears to
> base it upon Spaces as a delimiter. I want to be able to change that to a
> comma or a tab.
> 
> Any help you could give me would be great!


Here's the TextToColumns params from the VBA ObjectBrowser:

Sub TextToColumns([Destination], [DataType As XlTextParsingType =
xlDelimited], [TextQualifier As XlTextQualifier =
xlTextQualifierDoubleQuote], [ConsecutiveDelimiter], [Tab], [Semicolon],
[Comma], [Space], [Other], [OtherChar], [FieldInfo], [DecimalSeparator],
[ThousandsSeparator])

    Member of Excel.Range


HTH,

-seanA


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>