Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default two identical scripts, one with problem, the other with NO?!

Example: (refer to help40.zip)
http://www.geocities.com/remember_it/help40.zip

There are two files contained in help40.zip, help40a.xls and help40b.xls .

Both excel files have the following codes:
-------------------------------------------------------------------------------
Workbook_Open()
lock_ws
....
Names("size").RefersToRange.Locked = False 'problem arises here
....
-------------------------------------------------------------------------------
For the code:
Names("###").RefersToRange.Locked = False

Why does it go wrong in help40a.xls but NOT in help40b.xls?
How to correct that script in help40a.xls??
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
delete scripts AND Excel Worksheet Functions 1 March 20th 09 01:16 PM
Forumlas or scripts? Gor_yee Excel Discussion (Misc queries) 0 October 16th 06 01:53 PM
SQL Scripts in Excel markus Excel Discussion (Misc queries) 1 October 13th 06 12:39 PM
insurance calulater scripts bobby51 Excel Discussion (Misc queries) 0 December 26th 04 02:11 PM
VBA code scripts in macro Eric[_6_] Excel Programming 1 September 11th 03 05:37 PM


All times are GMT +1. The time now is 01:20 PM.

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"