LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default Getting Excel Runtime Error 9: Subscript out of range

Debug.Print the password and make sure it's what you expect it to be.

Not sure what would be causing the error on exiting - do you have event code hooked up in the workbook ?

--
Tim Williams
Palo Alto, CA


"Ph8te" wrote in message
...

Ph8te Wrote:
well I was able to get rid of the Runtime 9 error NOW I am getting
multiple errors once I try to enter the Username and passwords.

I get 1004 errors now both when I try to enter the worksheet (says the
password is incorrct)

and when I try to exit the worksheet it gives me another 1004 error
Login error is
"Runtime error 1004" the password you have entered is incorrect, please
make sure that the CAPS LOCK is off and be sure to use the proper
capitilization.

when I click debug it pring me to this section highlighted in yellow
Sheets(sSName).Unprotect (txtPass.Text)

Then when I try to exit the Worksheet I get:
Runtime error 1004
Method 'Visible' of object '_Worksheet' failed when I click debug it
brings me he
w.Visible = False




My appologies I forgot this is run off of Usenet.. please find my
question abaove.


--
Ph8te
------------------------------------------------------------------------
Ph8te's Profile: http://www.excelforum.com/member.php...o&userid=36277
View this thread: http://www.excelforum.com/showthread...hreadid=560573



 
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
Runtime Error 9, Subscript Out of Range. When linking between word Darren H Excel Discussion (Misc queries) 0 July 26th 07 04:34 PM
Subscript out of range error - save copy error bg18461[_16_] Excel Programming 2 June 13th 06 04:53 PM
Type Mismatch error & subscript out of range error Jeff Wright[_2_] Excel Programming 3 May 14th 05 07:14 PM
"Subscript out of range Runtime Error 9" teresa Excel Programming 1 December 14th 04 10:22 PM
Excel Macro Problem, Add-in need to work in every workbook & Error:9 Subscript out of range Burak[_2_] Excel Programming 1 October 31st 03 08:09 PM


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