+ Reply to Thread
Results 1 to 7 of 7

Macro to Launch Notepad

  1. #1
    Forum Contributor
    Join Date
    11-02-2010
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    353

    Macro to Launch Notepad

    Hello!
    I have some data on cells A1, A2, B1, B6, C3 and C5.
    Could you help me with a Macro that when clicked it will launch Notepad with these Data in one same column?
    Hope you could help. Thank you in advance.
    Last edited by Andrew.Trevayne; 08-17-2011 at 09:36 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    05-21-2009
    Location
    Great Britain
    MS-Off Ver
    Excel 2003
    Posts
    550

    Re: Macro to Launch Notepad

    Create a file using Open and Write # statements, then call the Shell function to open it in Notepad.

  3. #3
    Forum Contributor
    Join Date
    11-02-2010
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    353

    Re: Macro to Launch Notepad

    Hi Chippy, Im not really good in Macro. I did a search here on the forum and Ive seen a lot which saves and copy data on Notepad.
    However what i was looking for is a Macro that will copy the data and then Open that Text file.
    Thanks.

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Macro to Launch Notepad

    Try
    Please Login or Register  to view this content.
    Last edited by royUK; 08-17-2011 at 08:18 AM.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Forum Contributor
    Join Date
    11-02-2010
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    353

    Re: Macro to Launch Notepad

    @royUK
    Great Stuff! Thank you ^^

  6. #6
    Registered User
    Join Date
    09-20-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    51

    Re: Macro to Launch Notepad

    Quote Originally Posted by royUK View Post
    Try
    Please Login or Register  to view this content.
    Hi RoyUK,

    Im experimenting with this function as well. Could you explain what does the Range("A1"), Range("A1").End(xlDown) refer to? Thanks a million

  7. #7
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Macro to Launch Notepad

    It's a range from A1 to the next empty cell in Column A

    Any further questions please start your own Thread, refer to this one with a link

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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