Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I think these are forms buttons judging by the button name.
-- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "chris" wrote in message ... In Your project window go to ThisWorkbook. In the top of code window: Left dropdown choose Workbook, Right dropdown choose SheetChange then add this code: Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range) "this is generated for you" If Target.Address = "$A$1" Then Select Case UCase(Target) Case "CZ" ActiveSheet.OLEObjects("Button1").Object.Caption = "Cz" Case "EN" ActiveSheet.OLEObjects("Button1").Object.Caption = "En" End Select End If End Sub "this is generated for you" ----- tpapaj wrote: ----- Hi, can someone please help me? I need to program this: When I Change value in cell A1 from "en" to "cz" Implicit value is "en" the Caption of Button1 change from "English" to "Czech" How to do it please? Tom --- Message posted from http://www.ExcelForum.com/ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
change cell contents when pull down menu choices change | Excel Worksheet Functions | |||
making copied cells change with change in original cell | Excel Worksheet Functions | |||
change background row color with change of date in a cell | Excel Discussion (Misc queries) | |||
How do I change a number in one cell to change a series of cells? | Excel Discussion (Misc queries) | |||
Change workbook sheet reference using cell A1 to change a vairable | Excel Worksheet Functions |