ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   xla/xls help needed! (https://www.excelbanter.com/excel-programming/287746-xla-xls-help-needed.html)

MattShoreson[_10_]

xla/xls help needed!
 
I have an addin which has a couple of worksheets and a code module a
the basis of a new file.

I would like the addin to save these 3 items as a new file but when
use something like...

ThisWorkbook.SaveAs Filename:="BalanceSheet.xls"
FileFormat:=xlWorkbookNormal

It saves the file as an xls fine but retains the property...

IsAddin = True

Can I set this to false when saving or does it have to be done anothe
way?

Rgds,
Matt

--
Message posted from http://www.ExcelForum.com


Jim Rech

xla/xls help needed!
 
Is this what you need?

ThisWorkbook.IsAddin = False

--
Jim Rech
Excel MVP




All times are GMT +1. The time now is 09:44 AM.

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