+ Reply to Thread
Results 1 to 4 of 4

Issues running 2007 macro in 2003

Hybrid View

  1. #1
    Registered User
    Join Date
    01-08-2013
    Location
    Ft. Wayne, Indiana
    MS-Off Ver
    Excel 2007
    Posts
    4

    Exclamation Issues running 2007 macro in 2003

    I have a macro created in excel 2007. when I or anyone else tries to run this in 2003, you are thrown off of the spreadsheet. I am thinking there is something in the macro that was not available or something. I tried to save it as a 97-2003 spreadsheet, and that didn't work. then I tried to save it as a macro-enabled spreadsheet and now you can't even open it in 2003 anymore! This is the macro:

    Option Compare Text
    Private Sub Worksheet_Change(ByVal Target As Range)
        If Intersect(Target, Range("F:F")) Is Nothing Then Exit Sub
        Application.EnableEvents = False
        On Error GoTo exit_proc
        With Target
            If .Value Like "*outside op*" Then
                MsgBox ("WARNING: Verify all outside operations with office before parts leave shop!")
            End If
        End With
    exit_proc:
        Application.EnableEvents = True
    End Sub
    can someone help?? I'm so confused! And I gotta get this fixed a.s.a.p or we are gonna have a lot of parts that are not logged!

  2. #2
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: Issues running 2007 macro in 2003

    Created a workbook in 2010, pasted the code provided and saved the workbook as type 2003 without any problems. Re-opened the 2003 version and ran the code without problems.
    If you like my contribution click the star icon!

  3. #3
    Registered User
    Join Date
    01-08-2013
    Location
    Ft. Wayne, Indiana
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Issues running 2007 macro in 2003

    Could there be an issue with that particular computer's 2003 version? I haven't tried running it from any other computers with 2003 other than the one that would actually be running the spreadsheet more often.

  4. #4
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: Issues running 2007 macro in 2003

    You said you were unable to save the workbook in 2003 version from your own computer. What error message did you get? If you were no able to create a 2003 version, than what version is the 2003 computer trying to use?

+ 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