#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,814
Default 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

  #3   Report Post  
Posted to microsoft.public.excel.programming
KD KD is offline
external usenet poster
 
Posts: 41
Default 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

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 143
Default 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

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,814
Default 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



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
Error handling error # 1004 Run-time error [email protected] Excel Programming 3 May 20th 08 02:23 PM
Error Handling - On Error GoTo doesn't trap error successfully David Excel Programming 9 February 16th 06 05:59 PM
Form Err.Raise error not trapped by entry procedure error handler [email protected] Excel Programming 1 February 8th 06 10:19 AM
run-time error '1004': Application-defined or object-deifined error [email protected] Excel Programming 5 August 10th 05 09:39 PM
Automation Error, Unknown Error. Error value - 440 Neo[_2_] Excel Programming 0 May 29th 04 05:26 AM


All times are GMT +1. The time now is 04:30 PM.

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"