+ Reply to Thread
Results 1 to 4 of 4

Write an Array To Notepad

  1. #1
    Registered User
    Join Date
    03-31-2009
    Location
    Auburn Alabama
    MS-Off Ver
    Microsoft Office Excel 2007 (Windows)
    Posts
    99

    Write an Array To Notepad

    Is there a way to write an ARRAY to notepad?

    I know the following writes a RANGE to notepad:

    Please Login or Register  to view this content.
    But is there a way to write an ARRAY to notepad?
    ...Is there a way to alter the above code to do so?
    ...Or is there some entirely different way?

    Thanks for the help in advance!
    Last edited by CrazyFileMaker; 04-01-2010 at 02:31 PM. Reason: solved

  2. #2
    Valued Forum Contributor tony h's Avatar
    Join Date
    03-14-2005
    Location
    England: London and Lincolnshire
    Posts
    1,187

    Re: Write an Array To Notepad

    what is the aray you want to write?


    click on the * Add Reputation if this was useful or entertaining.

  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Write an Array To Notepad

    Hello CrazyFileMaker,

    Here is a macro that will copy either a 2-D array or Range into a text file. The arguments are the full file path with name and extension, the array or range to be used, and the delimiter. If you don't specify the delimiter then a comma is used by default.
    Please Login or Register  to view this content.


    Macro Usage Example
    Creates a pipe delimited text file from the range.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  4. #4
    Registered User
    Join Date
    03-31-2009
    Location
    Auburn Alabama
    MS-Off Ver
    Microsoft Office Excel 2007 (Windows)
    Posts
    99

    Re: Write an Array To Notepad

    Thanks Leith!

    That's very helpful to me.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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