+ Reply to Thread
Results 1 to 4 of 4

Showing error While trying to Export data from Excel to Notepad

  1. #1
    Registered User
    Join Date
    11-25-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    10

    Showing error While trying to Export data from Excel to Notepad

    Respected Sir,

    I am New to VBA Macros and Programming. I was trying to use a Macro for Exporting data from an excel file to a note pad using the below code.
    But it is showing error as Sub not defined. I attached the Excel file. Please help.
    Please Login or Register  to view this content.


    Moderator's Note: Welcome to the forum, You hav e to put code tags around code. Select the code then Hit "#" sign. I'll do it for you now. Thank you for joining.
    Attached Files Attached Files
    Last edited by vlady; 11-26-2012 at 02:15 AM.

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Showing error While trying to Export data from Excel to Notepad

    The not defined Sub is ExportToTextFile, you missed it
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    11-25-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Showing error While trying to Export data from Excel to Notepad

    Hi Patel,

    Can you help me to define this ExportToTextFile to the attached code

  4. #4
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Showing error While trying to Export data from Excel to Notepad

    I think you copied this macro from web, you have to search again and copy complete code

+ 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