+ Reply to Thread
Results 1 to 3 of 3

Export 2 columns to 2 text files

  1. #1
    Registered User
    Join Date
    12-08-2015
    Location
    Birmingham, England
    MS-Off Ver
    2007
    Posts
    44

    Export 2 columns to 2 text files

    Hello,

    I am trying to export some data in column A to one text file and then some data in column B to a separate text file. There could be any number of rows.
    Here is what I have so far:

    Please Login or Register  to view this content.
    This however comes up with a type mismatch error on " Print #1, iRange" and I'm also not sure about how to print column B to a separate text file.

    Any help would be greatly appreciated.

    Thanks in advance.

  2. #2
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: Export 2 columns to 2 text files

    Possibly...
    Please Login or Register  to view this content.

  3. #3
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: Export 2 columns to 2 text files

    To write out column B, change this
    Please Login or Register  to view this content.
    to this
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Export Columns to separate Text files
    By murtly in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-31-2014, 08:25 AM
  2. [SOLVED] Export columns to text files with different headings
    By dualaudio454252 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-18-2014, 02:29 AM
  3. export specific cells to several text files
    By BSJ in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-01-2013, 04:20 AM
  4. Excel VBA row export to multiple text files
    By warren13 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-11-2011, 03:02 AM
  5. export columns from 3 excel files and send them to one file
    By vba_iverson in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-08-2011, 02:36 AM
  6. Export multiple columns to single column text files including special characters
    By mike4uuu in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-09-2011, 04:54 AM
  7. how to export Unicode data to multiple text files
    By world33 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-05-2010, 12:44 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1