Log in

View Full Version : VBA & C++



Greg
02-28-2013, 08:24 PM
Dear all,

I have just acquired a new accounting system which uses c++ coding to generate letters, invoices and documents.

However, when I modify one of my documents for use in the system (by adding the inbuilt c++ code for addressees, etc.) any Userform on that document and its related macros, no longer function. Meanwhile the c++ code works beautifully.

For example, pressing my print selector button after generating one of these documents has no effect whatsoever.

Having said that, if I don't add any c++ code to the document and simply load my document into the documents folder of the accounting system, it continues to function perfectly.

It seems therefore that VBA and c++ don't sit well together in the same document but I'm not sure what can be done (if anything) to make them compatible.

Does anyone have a suggestion?

Regards,

Greg.

fumei
02-28-2013, 08:36 PM
I am sorry, but that does not really make sense. I do not know what you mean by "add c++ code to the document". How.