Results 1 to 2 of 2
  1. #1
    5 Star Lounger
    Join Date
    Jan 2001
    Posts
    1,119
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Delimiters (2003)

    I have some code in a macro that says the following:
    DataType:=xlDelimited, Comma:=True
    My question is - what if I wanted to use an ampersand instead of a comma for the delimiter. What word do you use for ampersand in the code - or is it ampersand?
    What are the names of other delimiters if ampersand isn't a valid dilimiter?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Delimiters (2003)

    Use
    <code>
    ..., Other:=True, OtherChar:="&"
    </code>
    Look up OpenText or TextToColumns in the Excel VBA help to see the syntax.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •