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: 77
Default A question of TARGET.VALUE

I am usisng the following code...and it works to a certain extent.
The Commandbutton1, which is normally HIDDEN does become visible if the data
at H2 is greater that 1111
In other words if I type in 1111 at H2 the commandbutton1 will be visible
BUT
if I have a formula in H2 that displays a number great than 1111, the
commandbutton1 does NOT appear.
Can this be fixed.
Thanks
If Target.Address = "$H$2" Then
If Target.Value 1111 Then
CommandButton1.Visible = True

END IF
End If

--
Norton Professional 2004 says this email is clean...believe it


 
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
Target.Value lehigh46 Excel Worksheet Functions 2 April 1st 08 01:01 PM
Target Value Question Jenny B. Excel Discussion (Misc queries) 3 January 28th 08 02:53 PM
Target cell reference moves when target is cut and pasted Illya Teideman Excel Discussion (Misc queries) 5 May 31st 07 11:34 AM
Target Question jkrist46 New Users to Excel 1 April 5th 06 06:08 AM
Target Question jkrist46 New Users to Excel 2 April 4th 06 08:06 PM


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