Creating a .com file

User avatar
Don Wells
5StarLounger
Posts: 689
Joined: 27 Jan 2010, 16:45
Location: Ottawa, Ontario, Canada

Creating a .com file

Post by Don Wells »

Can someone provide a pointer or two on converting vba code into a '.com' file?

T.I.A.
Regards
Don

User avatar
HansV
Administrator
Posts: 78487
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Creating a .com file

Post by HansV »

VBA in an Office application (Word, Excel etc.) can't be converted to an executible directly (.com is rather obsolete, by the way, .exe is far more common these days).
You'd have to create a program in VB.Net, which would require rewriting parts of the code.

If you could provide some details of what you want to accomplish, we might be able to give a more specific answer.
Best wishes,
Hans

User avatar
Don Wells
5StarLounger
Posts: 689
Joined: 27 Jan 2010, 16:45
Location: Ottawa, Ontario, Canada

Re: Creating a .com file

Post by Don Wells »

HansV wrote:VBA in an Office application (Word, Excel etc.) can't be converted to an executible directly (.com is rather obsolete, by the way, .exe is far more common these days).
You'd have to create a program in VB.Net, which would require rewriting parts of the code.

If you could provide some details of what you want to accomplish, we might be able to give a more specific answer.
Thank you for the guidance Hans.
My question was raised as a possible/doubtful solution to the problem which Chris is attempting to overcome here.
Regards
Don