Programming in VBA, use XLS or XLA as source??

R

Rich

When I first started using Exel VBA, XLAs could not be edited.

You needed the xls source, and then would save to xla, really like a
psuedo-compile.

I have just returned to the game and it appears you can now edit xla files.

SO: Is there any reason not just to work in the xla??? I am still using the
old process working in the xls source. What are the pros and cons of doing
this?

Thanks
Rich
 
B

Bob Phillips

Rich,

I used to do what you do, convincing myself that it was the 'proper' way,
more secure, blah, blah, blah.

I don't bother now, there is no difference that I can see, apart from the
fact that you don't get prompted to save your changes, you need to remember
to do this in the VBE yourself. I'll take that hit for the gains.
 
T

Tom Ogilvy

If you just want to package your code as a separate workbook and use
worksheets from a different workbook, then xla's fill the bill. If you want
to work on worksheets in the workbook with the code, then an xla would not
support that directly. Events would be an example, although you could
instantiate application level events in the xla.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top