Topic: Excel VBA crashes with Scomm32x
|By: Jorde||Posted on: Oct 3 2017 at 03:44:54 AM|
I use Scomm32 driver to communicate between electronic boards and EXCEL VBA. The code seems to work perfectly, but closing Excel is a problem.
Excel crashes when Excel is closed (not when Serial Port is closed)
I run Windows 10 latest version.
I use Office 365 v.1709 uppdated with an office insider version.
I have tried SComm32 v8 as well as SComm32 v9, but the same problem occours.
How can I solve the problem?
|By: Guest||Posted on: Oct 6 2017 at 05:28:01 PM|
|You need to close the serial port before closing excel.|
|By: Jorde||Posted on: Oct 12 2017 at 04:34:10 PM|
|I have closed the Serial port With this cammand: |
SComm2.PortOpen = False
but still Excel crashes when closing Excel.
I activated Scomm32 in an emty Excel document. I open the document og close Excel it immediately without doing anything - and Excel is crashing. What could be the problem?
|By: Guest||Posted on: Oct 12 2017 at 05:24:27 PM|
|Do you mean that you just open and close the excel document and it crashes. I mean without even opening the serial port?|
|By: Jorde||Posted on: Oct 13 2017 at 03:36:32 AM|
|Yes, that is rigt.|
Seems like Excel2016 (Microsoft Office 365) do not like SComm32. Testing SComm32 with Excel2010 works fine. How can I got around this problem?
|By: Guest||Posted on: Oct 13 2017 at 07:35:03 PM|
|Have you got 64bit version of office installed?|
|By: Jorde||Posted on: Oct 13 2017 at 08:33:22 PM|
|No, I have 32bit version of Office installed. But I run Windows 10 (64 bit).|
|By: Support||Posted on: Oct 14 2017 at 09:08:40 PM|
|The excel sheet with the ocx that doesn't open the port but crashes when you close the sheet. Can you put that sheet into a zip and email it to us.|
|By: Guest||Posted on: Oct 15 2017 at 09:24:07 AM|
|Why are you running insider version on your development machine? What Microsoft says about the Insider Versions.|
By switching to Insider Preview builds of Windows 10, you’ll get the latest changes and features before other Windows users. However, you’ll also get new bugs.
Overall, we (microsoft) don’t recommend switching to Windows 10’s Insider Previews on your main PC, or any PC you depend on actual stability from. if you’re curious to get a glimpse of the future and provide feedback, we recommend running the Insider Previews in a virtual machine or on a secondary PC.
What is it with you insiders? Don't you guys realise that the insider program is just another word for "Beta Testers". OK, It's not quite as dodgy as Beta but it's still not 100% release ready.
|By: Guest||Posted on: Oct 15 2017 at 09:25:37 AM|
|OK. That 'Insider' thing refers to Windows 10. But I guess it also applies to Office Insider versions as we.|
|By: Mukesh Makwana||Posted on: Dec 9 2017 at 06:39:31 AM|
|Am also having same problem...When I use Excel2016 (32Bit) when I close port and then the file, Excel Crashes....When I use the same file with Excel2010(32Bit) it just works fine...Do we have upgraded version of SComm32 compatible with Excel2016(32 Bit)??|
|By: Suppprt||Posted on: Dec 9 2017 at 08:26:50 PM|
|If you have a "paid for" licence then please contact support with your current version number and we'll send an update if one is available.|
|By: Guest||Posted on: Feb 24 2018 at 12:04:49 AM|
Reply - add a comment to this topic.
You may enter letters, numbers and standard punctuation only. HTML and other scripts/tags will be rejected.