ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Building an application on top of Excel (https://www.excelbanter.com/excel-programming/370975-building-application-top-excel.html)

MSA

Building an application on top of Excel
 
I have built a work book as an application (with macros for navigating etc.).
Now I would like to get rid of the Excel shell thatis to say suppress the
work sheet tabs and the menus and use autoexe the same way as in Access you
can do, is this possible?

Thanks for your input in advance.

Regards,
MSA


Tom Ogilvy

Building an application on top of Excel
 
I would think not if you want to use the worksheet grid. You can hide sheet
tabs and menus, however.

for i = 1 to Application.CommandBars.count
if i < 3 then
Application.CommandBars(i).Enabled = False
else
Application.CommandBars(i).visible = False
end if
next

You would need to record which commandbars are changed so you can restore
them.

sheet tabs are in the view tab under Tools=Options. You can get the code
with the macro recorder.

--
Regards,
Tom Ogilvy


"MSA" wrote:

I have built a work book as an application (with macros for navigating etc.).
Now I would like to get rid of the Excel shell thatis to say suppress the
work sheet tabs and the menus and use autoexe the same way as in Access you
can do, is this possible?

Thanks for your input in advance.

Regards,
MSA



All times are GMT +1. The time now is 03:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com