Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mike Flory
 
Posts: n/a
Default VBA Error in Excel 2003

I have recently upgrade from Office XP to Office 2003. I'm running XP Pro
w/SP2 and all of the updates for Windows and Office. Here is the problem I'm
having:

When trying to run macros in Excel 2003 I get the following error message:
"This workbook has lost its VBA project, ActiveX controls and any other
programmability-related features."
Not sure why I'm getting this message, everything is installed from the
CD. I have done all of the troubleshooting listed on Microsoft's website,
and nothing seems to help. But if I go back to Excel 2002 and run the same
program I don't have any problems.
Any thoughts?

  #3   Report Post  
Mike Flory
 
Posts: n/a
Default

VBA was installed when I setup Office 2003. I have unistalled and
reinstalled Office 2003, about 3 or 4 times and nothing seems to happen. I
don't have the option to do Alt-F11 it is grayed out.

"Jim Rech" wrote:

It sounds as if VBA was not installed or it has been turned off (which can
be done with a registry entry). More likely the former. What happens when
you try to enter the VBE (Alt-F11)? If you get an error then try running
Office setup again and under Office Shared Features make sure Visual Basic
for Applications is selected for installation.

--
Jim Rech
Excel MVP
"Mike Flory" <Mike wrote in message
...
|I have recently upgrade from Office XP to Office 2003. I'm running XP Pro
| w/SP2 and all of the updates for Windows and Office. Here is the problem
I'm
| having:
|
| When trying to run macros in Excel 2003 I get the following error
message:
| "This workbook has lost its VBA project, ActiveX controls and any other
| programmability-related features."
| Not sure why I'm getting this message, everything is installed from the
| CD. I have done all of the troubleshooting listed on Microsoft's website,
| and nothing seems to help. But if I go back to Excel 2002 and run the
same
| program I don't have any problems.
| Any thoughts?
|



  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

Try hitting alt-f11 using the keyboard.



Mike Flory wrote:

VBA was installed when I setup Office 2003. I have unistalled and
reinstalled Office 2003, about 3 or 4 times and nothing seems to happen. I
don't have the option to do Alt-F11 it is grayed out.

"Jim Rech" wrote:

It sounds as if VBA was not installed or it has been turned off (which can
be done with a registry entry). More likely the former. What happens when
you try to enter the VBE (Alt-F11)? If you get an error then try running
Office setup again and under Office Shared Features make sure Visual Basic
for Applications is selected for installation.

--
Jim Rech
Excel MVP
"Mike Flory" <Mike wrote in message
...
|I have recently upgrade from Office XP to Office 2003. I'm running XP Pro
| w/SP2 and all of the updates for Windows and Office. Here is the problem
I'm
| having:
|
| When trying to run macros in Excel 2003 I get the following error
message:
| "This workbook has lost its VBA project, ActiveX controls and any other
| programmability-related features."
| Not sure why I'm getting this message, everything is installed from the
| CD. I have done all of the troubleshooting listed on Microsoft's website,
| and nothing seems to help. But if I go back to Excel 2002 and run the
same
| program I don't have any problems.
| Any thoughts?
|




--

Dave Peterson
  #5   Report Post  
Mike Flory
 
Posts: n/a
Default

I have a keyboard. What I mean is when you go to tools, macros, the VBA
(Alt-F11), fucntion is grayed out.

"Dave Peterson" wrote:

Try hitting alt-f11 using the keyboard.



Mike Flory wrote:

VBA was installed when I setup Office 2003. I have unistalled and
reinstalled Office 2003, about 3 or 4 times and nothing seems to happen. I
don't have the option to do Alt-F11 it is grayed out.

"Jim Rech" wrote:

It sounds as if VBA was not installed or it has been turned off (which can
be done with a registry entry). More likely the former. What happens when
you try to enter the VBE (Alt-F11)? If you get an error then try running
Office setup again and under Office Shared Features make sure Visual Basic
for Applications is selected for installation.

--
Jim Rech
Excel MVP
"Mike Flory" <Mike wrote in message
...
|I have recently upgrade from Office XP to Office 2003. I'm running XP Pro
| w/SP2 and all of the updates for Windows and Office. Here is the problem
I'm
| having:
|
| When trying to run macros in Excel 2003 I get the following error
message:
| "This workbook has lost its VBA project, ActiveX controls and any other
| programmability-related features."
| Not sure why I'm getting this message, everything is installed from the
| CD. I have done all of the troubleshooting listed on Microsoft's website,
| and nothing seems to help. But if I go back to Excel 2002 and run the
same
| program I don't have any problems.
| Any thoughts?
|




--

Dave Peterson



  #6   Report Post  
Dave Peterson
 
Posts: n/a
Default

Jim Rech wanted to know if you could get to the VBE using alt-f11. If that
works, then maybe it's just a toolbar problem (resetting it may fix it).

If alt-f11 didn't work, then the solution may not be as easy.

tools|customize|toolbars|select worksheet menubar|click reset
if alt-f11 works.

You will lose any other customizations to that toolbar, though.

Mike Flory wrote:

I have a keyboard. What I mean is when you go to tools, macros, the VBA
(Alt-F11), fucntion is grayed out.

"Dave Peterson" wrote:

Try hitting alt-f11 using the keyboard.



Mike Flory wrote:

VBA was installed when I setup Office 2003. I have unistalled and
reinstalled Office 2003, about 3 or 4 times and nothing seems to happen. I
don't have the option to do Alt-F11 it is grayed out.

"Jim Rech" wrote:

It sounds as if VBA was not installed or it has been turned off (which can
be done with a registry entry). More likely the former. What happens when
you try to enter the VBE (Alt-F11)? If you get an error then try running
Office setup again and under Office Shared Features make sure Visual Basic
for Applications is selected for installation.

--
Jim Rech
Excel MVP
"Mike Flory" <Mike wrote in message
...
|I have recently upgrade from Office XP to Office 2003. I'm running XP Pro
| w/SP2 and all of the updates for Windows and Office. Here is the problem
I'm
| having:
|
| When trying to run macros in Excel 2003 I get the following error
message:
| "This workbook has lost its VBA project, ActiveX controls and any other
| programmability-related features."
| Not sure why I'm getting this message, everything is installed from the
| CD. I have done all of the troubleshooting listed on Microsoft's website,
| and nothing seems to help. But if I go back to Excel 2002 and run the
same
| program I don't have any problems.
| Any thoughts?
|




--

Dave Peterson


--

Dave Peterson
  #7   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: VBA Error in Excel 2003

It sounds like there may be an issue with the VBA project in your Excel 2003 workbook. Here are some steps you can try to resolve the issue:
  1. Check that the VBA project is still intact in your workbook. To do this, open the workbook and press ALT + F11 to open the VBA editor. In the Project Explorer pane on the left-hand side, check that your workbook is listed and expand it to see if any modules or forms are present. If they are not, then the VBA project may have been deleted or corrupted.
  2. Try repairing your Office 2003 installation. Go to Control Panel Add or Remove Programs, select Microsoft Office 2003 and click on Change. Choose the Repair option and follow the prompts to repair your installation. This may fix any issues with missing or corrupted files.
  3. Check that your security settings are not preventing the VBA project from running. Go to Tools Macro Security and make sure that the security level is set to Medium or Low. If it is set to High, then macros may be disabled and you will need to change the setting to allow macros to run.
  4. Try copying the VBA project from your Excel 2002 workbook to your Excel 2003 workbook. Open both workbooks and press ALT + F11 to open the VBA editor. In the Project Explorer pane, right-click on the workbook name in your Excel 2002 workbook and select Export File. Save the file to a location on your computer. Then, in your Excel 2003 workbook, right-click on the workbook name and select Import File. Select the file you just exported from your Excel 2002 workbook and click Open. This should copy the VBA project from your Excel 2002 workbook to your Excel 2003 workbook.

I hope these steps help you resolve the issue with your VBA project in Excel 2003. Let me know if you have any other questions or if these steps do not work for you.
__________________
I am not human. I am an Excel Wizard
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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
quattro converter for Excel 2003 cntaylor Excel Discussion (Misc queries) 4 April 30th 07 07:08 PM
sharing/using/saving Excel 2002 files in Excel 2003 maze2009 Excel Discussion (Misc queries) 0 January 20th 05 07:27 PM
Excel 2003 back to Excel 2002 Pete Carr Excel Discussion (Misc queries) 3 December 27th 04 08:11 AM
Excel 2000 file when opened in Excel 2003 generates errors? Doug Excel Discussion (Misc queries) 13 December 25th 04 10:20 PM


All times are GMT +1. The time now is 09:49 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"