Is there a difference in Excel 2007 and Excel 365 with respect to Visual Basic Macros?

Hogan, Edward 1 Reputation point
2020-08-20T19:17:29.49+00:00

I have a spreadsheet with Macros that was created in excel 2007. It will not run correctly on my machine with Excel 365.

Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,892 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Anonymous
    2020-08-20T19:22:37.153+00:00

    Excel development is not currently supported here on QnA. They're actively answering questions in dedicated forums here.
    https://answers.microsoft.com/en-us/msoffice/forum/msoffice_excel-msoffice_custom
    https://social.msdn.microsoft.com/Forums/Lync/en-US/home?forum=exceldev

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments

  2. Itch Sun-MSFT 2,566 Reputation points
    2020-08-21T01:56:49.02+00:00

    There are differences in VBA between different versions of Office.

    Compatibility issues arise when the objects used by VBA programs are uncertain, such as different operating system environments, office environments, and worksheet objects.

    In general, lower versions of macros cannot run in higher versions of macros, and some statements have been written differently.

    I recommend that you copy macro statements to the new version of the environment to run sentence by sentence to debug.

    If you're having trouble debugging, you can refer to the link provided by DSPatrick and go to the appropriate forum to ask questions about your code.

    Good luck.😊

    If the response is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  3. Ken Burns 0 Reputation points
    2023-02-04T01:26:15.5733333+00:00

    Excel 2007 and Excel 365 both support Visual Basic for Applications (VBA) macros, but there are some differences between the two versions with regards to their macro capabilities.

    Excel 2007 provides a basic set of macro-recording and editing tools, and supports VBA macros. However, the macro capabilities in Excel 2007 are limited compared to those in Excel 365. For example, Excel 365 includes additional macro recording and editing tools, and supports the use of newer and more complex VBA constructs.

    In addition, Excel 365 also provides access to a wider range of online resources and support for macros, including online forums, support communities, and online training resources. Additionally, Excel 365 provides better compatibility with other Microsoft Office applications and services, making it easier to automate tasks and workflows that involve multiple Office applications.

    So while both Excel 2007 and Excel 365 support VBA macros, the macro capabilities and resources available in Excel 365 are generally more advanced and comprehensive.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.