Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Save as .xla option is not coming when I try to save

I have written a VBA function in a module. Now I want to save that workbook
as add-in. But when I try saving it, I cannot see any ".xla" dropdown in
"Save as type".

If I save it forcefully as ".xla" and try to install as add-in to another
workbook, excel says, invalid add-in.

What do I do?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default Save as .xla option is not coming when I try to save

In Excel 2003, the add-in option is the very last one on the dropdown list for filetype (unless you
have the 2007 file conversion utility installed).

HTH,
Bernie
MS Excel MVP


"Parag" wrote in message
...
I have written a VBA function in a module. Now I want to save that workbook
as add-in. But when I try saving it, I cannot see any ".xla" dropdown in
"Save as type".

If I save it forcefully as ".xla" and try to install as add-in to another
workbook, excel says, invalid add-in.

What do I do?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7,247
Default Save as .xla option is not coming when I try to save

What version of Excel are you using? I've never seen the behavior you
describe. If you can't save the workbook as an add-in in the normal
manner, try the following. Open the VBA Editor (ALT F11), then open
the Immediate window (CTRL G). In the Immediate window, enter each of
the lines below, pressing ENTER after each line. Change the file name
to the appropriate nameL.

ThisWorkbook.Save
ThisWorkbook.IsAddIn = True
ThisWorkbook.SaveAs "C:\Test\YourAddInName.xla"

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)

On Tue, 27 Jan 2009 05:28:01 -0800, Parag
wrote:

I have written a VBA function in a module. Now I want to save that workbook
as add-in. But when I try saving it, I cannot see any ".xla" dropdown in
"Save as type".

If I save it forcefully as ".xla" and try to install as add-in to another
workbook, excel says, invalid add-in.

What do I do?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Save as .xla option is not coming when I try to save

Hi Chip,

Thanks for your reply ! Your code works ! I could save and use that add-in
with your code. But I wonder why I could not save it the usual way. I use
Excel 2000.

By the way, what is immediate? Also as I'm new to VBA, can you suggest me
some good online learning materail.

Thanks!

"Chip Pearson" wrote:

What version of Excel are you using? I've never seen the behavior you
describe. If you can't save the workbook as an add-in in the normal
manner, try the following. Open the VBA Editor (ALT F11), then open
the Immediate window (CTRL G). In the Immediate window, enter each of
the lines below, pressing ENTER after each line. Change the file name
to the appropriate nameL.

ThisWorkbook.Save
ThisWorkbook.IsAddIn = True
ThisWorkbook.SaveAs "C:\Test\YourAddInName.xla"

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)

On Tue, 27 Jan 2009 05:28:01 -0800, Parag
wrote:

I have written a VBA function in a module. Now I want to save that workbook
as add-in. But when I try saving it, I cannot see any ".xla" dropdown in
"Save as type".

If I save it forcefully as ".xla" and try to install as add-in to another
workbook, excel says, invalid add-in.

What do I do?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tracking changes when option changes after save cstephenspi Excel Discussion (Misc queries) 0 March 21st 07 02:04 PM
"Save" and "Save As" options greyed out - "Save as Webpage" option Bill Excel Discussion (Misc queries) 0 January 16th 07 04:47 PM
Save-As Option Disable Salman Excel Worksheet Functions 0 January 9th 07 12:09 PM
How do I get the Save AS CSV option? Search and Record Excel Discussion (Misc queries) 1 February 11th 05 08:47 PM
No Save As option confuseduser Excel Discussion (Misc queries) 1 January 28th 05 01:06 AM


All times are GMT +1. The time now is 01:21 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"