+ Reply to Thread
Results 1 to 3 of 3

Run time error after running macro

  1. #1
    Registered User
    Join Date
    02-21-2009
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    31

    Run time error after running macro

    I am getting run time error after saving SAVE or opening the excel sheet.

    Macro is running at the time of saving or opening file.

    Please find the attached file.


    thanks

    Navy
    Attached Files Attached Files

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Run time error after running macro

    Hi Navneet,
    place the code in a module not in the worksheet
    replace
    Please Login or Register  to view this content.
    with
    Please Login or Register  to view this content.

    you will have a problem with this lin
    Please Login or Register  to view this content.
    as the dat formats dont match
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  3. #3
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Run time error after running macro

    I'd prefer to put all this in the 'Thisworkbook' module:
    Please Login or Register  to view this content.



+ 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