Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
443 views
in Technique[技术] by (71.8m points)

excel - BitAnd and BirOr VBA function for signed 32 bits numbers

I am writing a VBA routine to communicate with a PLC using DDE Poke/Request. I am trying to do Bitwise AND/OR operations on some numbers that are 32 bits and signed.

I am using WorksheetFunction.Bitor and WorksheetFunction.Bitand however, they only work for positive and less than 10 bits numbers. Do you have a replacement to these functions to suggest me?

question from:https://stackoverflow.com/questions/65849468/bitand-and-biror-vba-function-for-signed-32-bits-numbers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...