Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default How to hide/show a textbox depending on cell value

I've duplicated your code, but an error occurs with ".TextBox1" being
highlighted saying the object cannot be found. Why is this? I've renamed the
textbox to "TextBox1" already.

Thanks



"galimi" wrote:

Goto http://www.helpexcel.com/examples

You will see your spreadsheet in the list
--
http://HelpExcel.com




"Sam Kuo" wrote:

Thanks galimi, but the web page
(
http://www.HelpExcel.com/examples/hideTb.xls) seems no longer exist??

"galimi" wrote:

Sam,

I have provided an example at http://www.HelpExcel.com/examples/hideTb.xls
--
http://HelpExcel.com




"Sam Kuo" wrote:

Hi, I'd like to hide/show a textbox depending on the value of a cell. How can
I do this?

e.g.
A1="show TextBox1"
A2="hide TextBox1"
B1 is a dropdown list, containing values of A1 and A2 using data validation.
I'd like to hide TextBox1 when B1=A1, and hide when B1=A2. How??

Your help would be much appreciated

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default How to hide/show a textbox depending on cell value

I noted that the textbox in your example is different to mine. i.e. The
textbox I use is a floating textbox from drawing toolbar, not from control
tool box used in your example. So is your coding still applicable in my case?

"galimi" wrote:

Goto http://www.helpexcel.com/examples

You will see your spreadsheet in the list
--
http://HelpExcel.com




"Sam Kuo" wrote:

Thanks galimi, but the web page
(
http://www.HelpExcel.com/examples/hideTb.xls) seems no longer exist??

"galimi" wrote:

Sam,

I have provided an example at http://www.HelpExcel.com/examples/hideTb.xls
--
http://HelpExcel.com




"Sam Kuo" wrote:

Hi, I'd like to hide/show a textbox depending on the value of a cell. How can
I do this?

e.g.
A1="show TextBox1"
A2="hide TextBox1"
B1 is a dropdown list, containing values of A1 and A2 using data validation.
I'd like to hide TextBox1 when B1=A1, and hide when B1=A2. How??

Your help would be much appreciated

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
how do I hide the #N/A to not show in the cell Dylan @ UAFC[_2_] Excel Worksheet Functions 1 December 12th 08 01:05 AM
Can I show a picture depending on what data is selected in a cell Lesley Murray Excel Discussion (Misc queries) 3 April 12th 07 04:34 PM
Want to show/hide cells depending on other cells results Marco Excel Discussion (Misc queries) 0 August 15th 06 06:21 PM
Show/Hide a Secret Cell Hotbird Excel Programming 7 August 12th 03 08:30 PM
Show/Hide a Secret Cell Hotbird Excel Programming 1 August 11th 03 12:59 AM


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