+ Reply to Thread
Results 1 to 5 of 5

How to copy and transfer raw data from xlsm to notepad

  1. #1
    Registered User
    Join Date
    02-02-2018
    Location
    colombo
    MS-Off Ver
    2007
    Posts
    2

    How to copy and transfer raw data from xlsm to notepad

    Hi
    I wanted to copy and transfer the raw data (along with spaces) from a worksheet to a notepad automatically every 5 minutes by replacing the existing data in the same notepad.

    i have many Worksheets in the Workbook, in which i wanted to export data from a particular Worksheet called "SPOT", Range from A2:Y90.
    Notepad file saved in the location C:\ drive in the name of 'collection' in .txt format , C:\collection.txt .

    I have googled and tried various methods but none has matched my criteria yet. The below code does the job partially but not exactly what i wanted.

    Please Login or Register  to view this content.
    This code is working, but what it does is, it is copying and pasting everything in a transposed manner like changing all native rows to a single column in Notepad.

    Is it not possible to copy and paste the data in raw native format in Notepad as how it displays with tab spaces when we copy and paste it manually from Excel to Notepad!?

    Thanks awaiting for your assistance, Thank you.
    Last edited by Pepe Le Mokko; 12-13-2019 at 03:48 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,598

    Re: How to copy and transfer raw data from xlsm to notepad

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    I did it for you this time. Please read forum rules. Thanks

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,669

    Re: How to copy and transfer raw data from xlsm to notepad

    crossposted::https://chandoo.org/forum/threads/ho...notepad.43232/

    Rule 03: Cross-posting Without Telling Us

    Your post does not comply with Rule 3 of our Forum RULES. Do not cross-post your question on multiple forums without telling us about your threads on other forums.

    Post a link to any other forums where you have asked the same question.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Read this to understand why we ask you to do this.

    I have added the crosspost reference for you today. Please comply with this and all our rules in the future
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Registered User
    Join Date
    02-02-2018
    Location
    colombo
    MS-Off Ver
    2007
    Posts
    2

    Re: How to copy and transfer raw data from xlsm to notepad

    I'm sorry, hereafter it wont happen from my side.

    you may close/remove this thread, if its possible. Next time i'll post a query according to the rules.

    Thank you.

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,669

    Re: How to copy and transfer raw data from xlsm to notepad

    There is no need to close or remove the thread. You may continue in the thread. It is important that when you crosspost, you advise all forums of doing so.

+ 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. Quary live data transfer to notepad/sheet 2
    By ExceQ in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-08-2018, 05:17 PM
  2. Replies: 4
    Last Post: 04-04-2016, 04:09 AM
  3. Replies: 4
    Last Post: 07-22-2014, 10:17 PM
  4. Replies: 3
    Last Post: 05-21-2013, 08:22 AM
  5. how to copy selected notepad text and paste it in other notepad with macro
    By Guru232 in forum Excel Programming / VBA / Macros
    Replies: 29
    Last Post: 04-24-2013, 04:43 AM
  6. Data Validation and macro enabled workbook
    By titantough in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-12-2012, 12:55 AM
  7. [SOLVED] How do I transfer data from Notepad to Excel?
    By erika in forum Excel General
    Replies: 2
    Last Post: 01-18-2005, 04:06 PM

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