+ Reply to Thread
Results 1 to 6 of 6

Compatiblity Issues Excel 2007 to Excel 2019

  1. #1
    Forum Contributor
    Join Date
    12-09-2015
    Location
    Virginia, USA
    MS-Off Ver
    2007
    Posts
    121

    Compatiblity Issues Excel 2007 to Excel 2019

    I am running into a "Run Time Error 1004 Application-Defined or Object-Defined Error" on the following line of code and cannot figure out why my macro is crashing (It works fine on another computer).

    Please Login or Register  to view this content.
    Any idea why this might not work in Excel 2019?

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Compatiblity Issues Excel 2007 to Excel 2019

    You say 2019 in the post, your profile says 2007 which version is it?
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  3. #3
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Compatiblity Issues Excel 2007 to Excel 2019

    Syntax error?

    Please Login or Register  to view this content.
    This works

  4. #4
    Forum Contributor
    Join Date
    12-09-2015
    Location
    Virginia, USA
    MS-Off Ver
    2007
    Posts
    121

    Re: Compatiblity Issues Excel 2007 to Excel 2019

    Thank you. That worked! Now I am having trouble with this, though:

    Please Login or Register  to view this content.

  5. #5
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Compatiblity Issues Excel 2007 to Excel 2019

    Well why don't you just record a macro and do the replace thing, then you have the code and can edit it from there

  6. #6
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,516

    Re: Compatiblity Issues Excel 2007 to Excel 2019

    rjj920,

    2007 has no xlFormula2 property, so remove it like
    Please Login or Register  to view this content.
    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)

Similar Threads

  1. Replies: 0
    Last Post: 09-27-2019, 03:34 PM
  2. EXCEL 2019 and Print Layout Issues
    By DelMac in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 09-26-2019, 10:24 AM
  3. VBA switches sheets running in excel 2019 v 2010+2007+2011 for MAC, where it does not
    By Ramses505 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-28-2019, 11:44 AM
  4. Excel 2007 : Compatibility issues with Excel 2010
    By relaj in forum Excel General
    Replies: 6
    Last Post: 02-14-2013, 12:39 AM
  5. Replies: 3
    Last Post: 10-24-2012, 04:00 AM
  6. Excel 2007 : Excel 2007 to Excel 2010 Issues
    By aftabn10 in forum Excel General
    Replies: 2
    Last Post: 03-24-2011, 06:39 AM
  7. Pivot Table issues Excel 2003 v Excel 2007
    By dallan in forum Excel General
    Replies: 2
    Last Post: 12-08-2010, 04:48 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