ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Error 400 (https://www.excelbanter.com/excel-programming/429389-error-400-a.html)

Ernie Lippert[_2_]

Error 400
 
I recently installed Excell 2007. When Personal.xls [Compatibility Mode]
opens, I get a Microsoft Visual Basic Error 400. The Help menu is not that
much help. What can I do to avoid the 400 error? I have a fairly large amount
of code in different worksheets. Exiting out of the error message box doesn't
seem to do any violence to the execution of the codes.
--
Regards,
Ernie Lippert

Steve

Error 400
 
Hi ernie,
Save your personal.xls file as a personal.xlsb format.
It's one of the new eccentricities of excel 2007.
I'd encourage you also to read up on the new formats.
http://www.google.com/search?q=excel...rlz=1I7GGLD_en

If you have any xla formatted files, they become xlam. the new standard
format of xlsx will not allow the user to store macros in the individual
files. The new format for that is xlsm.
Essentiallly, if you want your macros to remain global macros, they need to
be placed in an xlsb file.
hth.
Is so please click yes.
Thanks.
Best.

"Ernie Lippert" wrote:

I recently installed Excell 2007. When Personal.xls [Compatibility Mode]
opens, I get a Microsoft Visual Basic Error 400. The Help menu is not that
much help. What can I do to avoid the 400 error? I have a fairly large amount
of code in different worksheets. Exiting out of the error message box doesn't
seem to do any violence to the execution of the codes.
--
Regards,
Ernie Lippert


Homey

Error 400
 
problem not with file format. old format works ok in 2007. problem is with
code. what line say where error happen?

"Ernie Lippert" wrote in message
...
|I recently installed Excell 2007. When Personal.xls [Compatibility Mode]
| opens, I get a Microsoft Visual Basic Error 400. The Help menu is not that
| much help. What can I do to avoid the 400 error? I have a fairly large
amount
| of code in different worksheets. Exiting out of the error message box
doesn't
| seem to do any violence to the execution of the codes.
| --
| Regards,
| Ernie Lippert


Steve

Error 400
 
I know that there are some items that don't work in the new format.
I.e., if you're calling to a macro in a different module, or location, you
no longer use application.run ().
Now, you only need to use Call "macroname"

Other than that, most (like 95%+) of my old 2000 code worked fine brining it
into 2007 simply by saving my xlb, or xls files housing my macros into xlsb.


"Ernie Lippert" wrote:

I recently installed Excell 2007. When Personal.xls [Compatibility Mode]
opens, I get a Microsoft Visual Basic Error 400. The Help menu is not that
much help. What can I do to avoid the 400 error? I have a fairly large amount
of code in different worksheets. Exiting out of the error message box doesn't
seem to do any violence to the execution of the codes.
--
Regards,
Ernie Lippert


KD

Error 400
 
If you paste your data- usuing paste special/ values only then you shouldb e
able to avoid the Error code

"Steve" wrote:

Hi ernie,
Save your personal.xls file as a personal.xlsb format.
It's one of the new eccentricities of excel 2007.
I'd encourage you also to read up on the new formats.
http://www.google.com/search?q=excel...rlz=1I7GGLD_en

If you have any xla formatted files, they become xlam. the new standard
format of xlsx will not allow the user to store macros in the individual
files. The new format for that is xlsm.
Essentiallly, if you want your macros to remain global macros, they need to
be placed in an xlsb file.
hth.
Is so please click yes.
Thanks.
Best.

"Ernie Lippert" wrote:

I recently installed Excell 2007. When Personal.xls [Compatibility Mode]
opens, I get a Microsoft Visual Basic Error 400. The Help menu is not that
much help. What can I do to avoid the 400 error? I have a fairly large amount
of code in different worksheets. Exiting out of the error message box doesn't
seem to do any violence to the execution of the codes.
--
Regards,
Ernie Lippert



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

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