Click here to Skip to main content
15,845,330 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
At first, I apologize if this question is not apropriate here.
But this "QRCodeSample.exe" looks very good!
I'd like to use "ThoughtWorks.QRCode.dll" as a function in excel.
Would someone please show me sample code for VBA? Way of ENCODE is enough for me.

1 solution


I am not sure whether the binary distribution is complied in a manner to allow it to be used from VBA. Here you can find the great tutorial on how to create C#/VB.NET assembly for use with VBA. Download the ThoughtWork's QRCode library source and follow the instruction given in the above mentioned article and you should be able to use the dll from VBA.

Share this answer
Member 9884524 6-Mar-13 18:20pm    
Thaks to comment. I'll try to learn.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900