Share via

Excel VB Code Issue with Cell Editing in Excel 2019

Anonymous
2024-01-11T06:37:24+00:00

I'm currently facing a issue with my VB code that interacts with Excel. Here's the scenario:

I've developed a VB code to open Excel files, and it works seamlessly on my PC with Excel 2007 and 2010. However, when I try to run the same code on another PC with Excel 2019 installed, I encounter a problem. The Excel file opens successfully, but only the cell editing option by double-clicking seems to be disabled in the form. Strangely, when I open the same Excel file directly in Excel 2019 without using the code, I can update cell values by double-clicking.

The libraries used are Microsoft excel 12.0 and Microsoft office 12.0

Is there any specific settings that need to be enabled for Excel 2019 compatibility or if any code changes required to address this issue.

Any help or suggestions would be greatly appreciated. Thank you!

Microsoft 365 and Office | Excel | Other | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Andreas Killer 144.1K Reputation points Volunteer Moderator
    2024-01-11T08:16:19+00:00

    Well, the UI was changed in 2013 from MDI to SDI, so the behavior is a bit different in general. https://learn.microsoft.com/en-us/office/vba/excel/concepts/programming-for-the-single-document-interface-in-excel

    But I never heard that this impact the way how you can edit a cell...

    Andreas.

    Was this answer helpful?

    0 comments No comments