-
-
Notifications
You must be signed in to change notification settings - Fork 499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Excel 2016 For Mac 64-Bit Update #248
Comments
Hi @jfrench9 I don't currently have access to a Mac for testing, so I'm not sure what exactly the issues are or how to resolve them. Do you have more specifics (error messages, compilation issues, etc) on the issues that you are receiving? |
When I run the add-on I created with VBA-Web integrated, I am getting this error: I believe this error is referring to the declare statements in the Mac code: If I add PtrSafe to the Declare statements similar to the Windows code, Excel crashes every time. This worked just fine before the update referenced above was pushed out on Aug 22nd. There is quite a bit of chatter about Excel 2016 for Mac being upgraded from 32 bit to 64 bit, so I would imagine the libraries referenced in these declare statements are not playing nicely with the new architecture. |
@jfrench9 I am currently experiencing the same issue as you. Although I don't believe it's as simple as adding PtrSafe to the Declare statements.. It would appear that Long types may need to be changed to LongPtr.. i.e. becomes
I'm not familiar with VB though perhaps this link will help? https://msdn.microsoft.com/library/gg264421.aspx?f=255&MSPPError=-2147217396 |
@jfrench9, @timhall
I'm assuming if you want this to work on multiple Excel versions then might need to add a few more |
@timhall do you plan to release these changes? I am experiencing the same issue and, if possible, would prefer to get an "official" update instead of patching myself. |
Any update about this one ? I have the same issue and I don't even know where to patch it myself. |
@timhall are you planning to pull this into main branch any time soon? |
@blackphoenixinf I hadn't had an opportunity to test this on Mac as my Mac died a while back, but I was able to test this yesterday and will merge it in today. |
@timhall if you need any help or feedback with testing this on Mac, I can give you a hand. |
I have a related issue after updating the most recent version of Office 365: Version 16.11.1 (180319) released 3/18/18. VBA is also version 7.1. When I run compile I get "Type Mismatch" error for "utc_Read". If I change it from LongPtr to Long, then "utc_popen" throws the error. This continues until I convert all LongPtr to Long. |
Hi @markcollins I just got that error too, I've just gotten my Mac up-and-running and will fix this and a few other Mac issues shortly. |
Hi guys, any update on this Mac issue? I also get the same problem as @markcollins using Excel 2016 for Mac Version 16.11.1 (180319). If I had to use an older version of Excel for Mac to work with VBA-Web without the issue in question, what would be recommended? |
Fixed in v4.1.4 |
@timhall
|
I bet if you hit debug and give him the line number throwing the error it would be super helpful. |
Hi Tim, Great library! I'm having this same problem. I've tracked it down to do with the line: Depending on which error reporting I have turned on its generating word version 16.16.10 Other plugins appear to have the same issue after recent updates (not sure if it was the mac of the microsoft updates that may have broken this, but seems to be fixable by replacing references of Eg in context
|
Haha, never mind, i was about to make a PR to suggest these changes but you've already implemented them in 4.1.6! You are two steps ahead of me! |
OK I think i've tracked down another bug perhaps related to this issue Error is with line 73 of webhelpers: And as far as i can tell, the issue is with the "Long", perhaps with all such Longs... (I started re-creating this module chunks of code at a time as the failure mode is a little elusive) I had to save the file, close and re-open excel and try to continue editing the code before the error would show up. Alert: "An unexpected error has occurred. Auto-recovery has been disabled for this session of Excel." Attempting to remove the module at this point results in a Microsoft visual basic internal error, and macros will not run again in this file (need to revert to an earlier backed up version) |
Excel 2016 for Mac was upgraded to 64-bit from 32-bit versions. This has caused issues with the VBA-Web functionality in Excel 2016 for Mac. Microsoft acknowledges that this is an issue for many add-ins.
It appears that some of the core functionality that makes this work in Excel 2016 for Mac may not be configured for the new 64-bit versions that were just rolled out yesterday. Any idea on how to resolve this issue?
The text was updated successfully, but these errors were encountered: