LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 249
Default locking and unlocking a textbox using command buttons

I have a userform with a textbox (TextBox1) on it linked to a cell in the
spreadsheet.

I have two command buttons on the form : cmdLock and cmdUnlock

What I am looking for is for code for the cmd buttons which will lock and
unlock the textbox for editting and will also toggle the lock and unlock
buttons from being Enabled True or False depending on whether the textbox is
locked or not.

Can anyone help?

Thanks,

Roger
 
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
Unlocking and Locking in a Marco JBoyer Excel Programming 3 July 12th 08 03:36 AM
locking and unlocking worksheets adam Excel Worksheet Functions 6 October 31st 07 05:31 PM
Conditional Cell Locking/Unlocking deelee[_2_] Excel Programming 5 May 27th 06 11:31 PM
Locking and unlocking a workbook Nigel Bennett Excel Programming 1 June 21st 04 03:58 PM
Locking/unlocking cells Ian Coates Excel Programming 1 February 3rd 04 04:04 PM


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