On Windows 11, I cannot access serial port with macro-based Excel to send a command to the serial port. But the same Excel is working fine on Windows 10. Please suggest a solution.
Example: the command shown here is unable to open the serial port for communication in VBA:
Open "COM" & port & ":19200,N,8,1" For Binary Access Read Write As #1 'Opens Com Port with Baud rate and bit settings
The above command is working fine on Windows 10 - I am expecting same thing with Windows 11.