Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 389
Default VBA project not viewable

I have a file at work that I wrote macros and password protected the file and
the VBA. I copied the file to my home computer and I can open the file ...
and then it says "Could not load an object because it is not available on
this machine."

Also "Compile error in hidden module: This Workbook ... this one is
expected becuase there is code specific to a work setup that would have to be
ammened to work at home.

When I try to go to the VBA code it says "Project is unviewable."

What causes that and how can I setup the file at work so I will be able to
take it to another machine and see the code.

Note: I have other files which are password protected on the VBA that I am
able to enter the password and get to the modules.

Thank you for your help.

Steven
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default VBA project not viewable

In what version of Excel were the files originally created and the
code protected? I forget the details, but there was a problem opening
modules protected in a version other than the one under which the code
was originally protected. I vague memory serves, the problem was
between Excel 97 and Excel 2000. Also, such a problem could be caused
by opening files created in USA versions in non-USA version (because
the encryption in some non-USA versions was weaker than in USA
versions). I doubt this last problem in the cause of what you are
seeing. If possible, open the file on the same machine or at least in
the same version of Excel as which it was created.

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



On Sun, 24 May 2009 13:08:00 -0700, Steven
wrote:

I have a file at work that I wrote macros and password protected the file and
the VBA. I copied the file to my home computer and I can open the file ...
and then it says "Could not load an object because it is not available on
this machine."

Also "Compile error in hidden module: This Workbook ... this one is
expected becuase there is code specific to a work setup that would have to be
ammened to work at home.

When I try to go to the VBA code it says "Project is unviewable."

What causes that and how can I setup the file at work so I will be able to
take it to another machine and see the code.

Note: I have other files which are password protected on the VBA that I am
able to enter the password and get to the modules.

Thank you for your help.

Steven

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default VBA project not viewable

Just to add to Chip's response...

You can get that message if the workbook is shared, too.

Steven wrote:

I have a file at work that I wrote macros and password protected the file and
the VBA. I copied the file to my home computer and I can open the file ...
and then it says "Could not load an object because it is not available on
this machine."

Also "Compile error in hidden module: This Workbook ... this one is
expected becuase there is code specific to a work setup that would have to be
ammened to work at home.

When I try to go to the VBA code it says "Project is unviewable."

What causes that and how can I setup the file at work so I will be able to
take it to another machine and see the code.

Note: I have other files which are password protected on the VBA that I am
able to enter the password and get to the modules.

Thank you for your help.

Steven


--

Dave Peterson
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
PROJECT NOT VIEWABLE? FARAZ QURESHI Excel Discussion (Misc queries) 5 April 11th 08 11:30 AM
text not viewable Alice Chen Excel Discussion (Misc queries) 1 December 28th 07 07:22 PM
Viewable columns BruceC Excel Discussion (Misc queries) 2 November 27th 07 03:25 AM
VBA Project Not Viewable Paul Mathews Excel Programming 3 March 3rd 06 03:48 PM
Picture is not viewable Deecee7 Excel Discussion (Misc queries) 1 August 11th 05 07:43 PM


All times are GMT +1. The time now is 02:22 AM.

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

About Us

"It's about Microsoft Excel"