+ Reply to Thread
Results 1 to 3 of 3

Best method of Copy and Paste from a .txt file

  1. #1
    Forum Contributor
    Join Date
    04-05-2010
    Location
    Lakewood, IL
    MS-Off Ver
    Excel 2016
    Posts
    384

    Best method of Copy and Paste from a .txt file

    I have been using the following code for some time now, but all of a sudden the PasteAll is not pasting the contents from a .txt file I have open. The following is the code:

    Please Login or Register  to view this content.
    Any suggestion on how open a text file, select all the contents and paste it into an Excel worksheet?

    Thanks in advance!

  2. #2
    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: Best method of Copy and Paste from a .txt file

    Hello Bobbbo,

    Are you getting any error messages?
    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!)

  3. #3
    Forum Contributor
    Join Date
    04-05-2010
    Location
    Lakewood, IL
    MS-Off Ver
    Excel 2016
    Posts
    384

    Re: Best method of Copy and Paste from a .txt file

    No error messages but the cell D114 is blank when I go to look what was pasted. It works intermittently.

+ 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. [SOLVED] VB Code to copy and paste from all text file and paste into single file
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-29-2015, 06:00 PM
  2. [SOLVED] ws.Paste method fails after lots of copy-paste of shapes
    By bagullo in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-15-2015, 03:00 AM
  3. [SOLVED] Copy and paste method to notify when last...
    By Excelnoub in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-21-2013, 02:54 PM
  4. Replies: 6
    Last Post: 05-12-2006, 05:45 PM
  5. [SOLVED] how to copy data with out using paste method
    By jaffar in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-12-2006, 07:00 AM
  6. Replies: 1
    Last Post: 10-17-2005, 04:05 AM
  7. Replies: 1
    Last Post: 01-04-2005, 06:06 PM

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