Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6790621
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T17:44:48+00:00 2026-05-26T17:44:48+00:00

Is there a compatibility issue between macros written for XLS, XLSX and XLSM? Will

  • 0

Is there a compatibility issue between macros written for XLS, XLSX and XLSM? Will the same macro work for all workbooks?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T17:44:49+00:00Added an answer on May 26, 2026 at 5:44 pm

    There are significant differences between these formats :

    • .XLS is intended to be used for Excel 2003 and above, so your VBA code needs to be backwards compatible for earlier versions of Excel (<2007)
    • .XLSX is the Excel 2007 format that cannot store VBA code.
    • .XLSM or .XLSB are the Excel 2007 format that allow you to save VBA code with the workbook. As Sydenam said, the differences between these two is the way the workbook is stored.

    In short: .XLSB is the binary format (equivalent to .XLS for 2007+ version) whereas .XLSM is the OOXML format.

    See When should the xlsm or xlsb formats be used? for more information.


    Addendum for backward compatibility

    I can’t see any easy way to tell you how it can be backwards compatible, we can’t be that generic. You can see on Ozgrid the new methods and properties that were added in Excel 2007. You can also find here some tips on how to develop on Excel 2007.

    The Ozgrid page will give you the new elements of Excel 2007 and then will tell you what you shouldn’t use if you wanted to be backwards compatible.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In JavaScript this was a cross-browser compatibility issue, so both were used, but there
There are many ways we can deal with CSS browser compatibility issue. Such as
there are document compatibility modes for all versions of IE browsers, but none for
I'm having an interesting compatibility issue between a WCF client and a Java web
Are there any compatibility issues that would prevent this from working? Do I need
I've had a little search and I was wondering if there is back compatibility
are there any libraries out there to minimize the differences of the behavior between
When developing for browsers FF3 and IE6/7 with jQuery, are there any compatibility issues
OS:WinXP Is there any plugin for FF3 that can do the same like Chrome
I had to add <prefer-web-inf-classes>true</prefer-web-inf-classes> to weblogic.xml to resolve a Hibernate antr compatibility issue

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.