Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 573
Default Object doesn't support...

this property or method. Message I'm getting when I enter any text
password into the text box which uses this code:

Private Sub cbOK_Click()
sPwrd = ufPwrdEntry.tbPwrdEntry.Value <---Object doesn't support...
If sPwrd = "" Then
MsgBox "Please enter the password to access this worksheet.",
vbOKCancel
End If
End Sub

Just setting a string variable to what was entered into a textbox, I
thought. Any suggestions?

Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 573
Default Object doesn't support...

I should have mentioned that sPwrd is publicly declared as a string
variable by the routine that calls this one.

davegb wrote:
this property or method. Message I'm getting when I enter any text
password into the text box which uses this code:

Private Sub cbOK_Click()
sPwrd = ufPwrdEntry.tbPwrdEntry.Value <---Object doesn't support...
If sPwrd = "" Then
MsgBox "Please enter the password to access this worksheet.",
vbOKCancel
End If
End Sub

Just setting a string variable to what was entered into a textbox, I
thought. Any suggestions?

Thanks!


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
438 - Object doesn't support this property or method Revtim Excel Programming 0 September 12th 05 09:09 PM
Object doesn't support this method Andibevan[_4_] Excel Programming 3 September 1st 05 10:07 AM
Object doesn't support this property or method davegb Excel Programming 11 May 12th 05 03:36 PM
Object doesn't support this property or method Rick Campbell Excel Programming 2 July 13th 03 11:53 PM


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