• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

excel macro worksheet to exe

Hi, nanobuns!

No, you can't.

First of all:
- worksheet is a component of a workbook
- there are no macro worksheets (unless you're using the very old Excel 4.0 macros)
- macros are VBA code hold in modules (either standard or class modules) and in worksheets and userforms class modules
- workbooks are at the file level (.xlsx, .xlsm) as an executable (.exe)

The closer you can get is compressing the .xls? file with WinRar (or any other compression software with self extraction features) and generate a .exe file to be self extracted. But not executed, since you'll need the whole Excel and part of the Office installation environment.

BTW and just curious, what do you want to convert a workbook into an executable file?

Regards!
 
Back
Top