Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Run Time Error 1004

Hi

I have a macro the protects and unprotect a workbook. When I manually
unprotect a workbook and try to do something I get the following
message:

"Run Time Error 1004:

The cell or chart you are tryint to change is protected and therefore
read-only.

To modify a protect cell or chart, first remove protection using the
Unprotect sheet command( Tools menu, Protection submenu). You may be
prompted for a password"

Would anyone have any ideas why this is happening?

Greg

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Run Time Error 1004

This isn't workbook protection. It's worksheet protection.

So tools|Protection|Unprotect Worksheet (manually) or add the equivalent in your
code.

"Gregc." wrote:

Hi

I have a macro the protects and unprotect a workbook. When I manually
unprotect a workbook and try to do something I get the following
message:

"Run Time Error 1004:

The cell or chart you are tryint to change is protected and therefore
read-only.

To modify a protect cell or chart, first remove protection using the
Unprotect sheet command( Tools menu, Protection submenu). You may be
prompted for a password"

Would anyone have any ideas why this is happening?

Greg


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Run Time Error 1004


Dave Peterson wrote:
This isn't workbook protection. It's worksheet protection.

So tools|Protection|Unprotect Worksheet (manually) or add the equivalent in your
code.


The error message comes up after I have done that.

Greg

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Run Time Error 1004

I don't have another guess.

"Gregc." wrote:

Dave Peterson wrote:
This isn't workbook protection. It's worksheet protection.

So tools|Protection|Unprotect Worksheet (manually) or add the equivalent in your
code.


The error message comes up after I have done that.

Greg


--

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
Run Time Error 1004: Application or Object Defined Error BEEJAY Excel Programming 4 October 18th 06 04:19 PM
Run Time 1004 Error: Application or Object Difine Error BEEJAY Excel Programming 0 October 17th 06 10:45 PM
run-time error '1004': Application-defined or object-deifined error [email protected] Excel Programming 5 August 10th 05 09:39 PM
Run time error '1004': Generaol ODBC error Dwaine Horton[_3_] Excel Programming 2 April 26th 05 02:52 PM
Application Run Time Error 1004 and Stack Error ExcelMonkey[_190_] Excel Programming 9 February 11th 05 04:48 PM


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