How do I save a macro as XLSB without any Worksheets?

Palerock68

New Member
Joined
Apr 20, 2018
Messages
6
XLA used to be just the macro and no worksheets, but I cannot find a way to save XLSB without any Worksheets i.e. just the macro?
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
An xla is just a workbook with its IsAddin property set - it has to have have at least one sheet, as does any workbook.
 
Last edited:
Upvote 0
Ok, maybe the worksheet can be hidden, for I do have several XLA files, without visible worksheets.
I even have one XLSB file, without visible worksheets, but I do not remember anymore how I made it.
 
Upvote 0
You can hide an entire workbook, but you can't hide every sheet within a workbook (there is a difference ;)). Add-in workbooks are hidden workbooks (as is the Personal Macro Workbook, which is probably the xlsb you are thinking of).

To hide a workbook, open it, then choose View tab, then click Hide in the Workbook group. Remember to save the workbook when closing Excel.
 
Upvote 0

Forum statistics

Threads
1,215,161
Messages
6,123,380
Members
449,097
Latest member
Jabe

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top