Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi all, I have the following piece of script that brings up a prompt when someone fills in a particular cell (in this case G10): Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range) Select Case Sh.Name Case "Programme" Select Case Target.Address(0, 0) Case "G10" Range("G10").Activate MsgBox "Now please fill in Component information" End Select End Select End Sub I want cells G5:G350 to behave in the same way, but when I change the line: Case "G10" to Case "G5:G350" the script stops working. Can anyone suggest what I'm doing wrong and how I might rectify this problem? TIA, SamuelT -- SamuelT ------------------------------------------------------------------------ SamuelT's Profile: http://www.excelforum.com/member.php...o&userid=27501 View this thread: http://www.excelforum.com/showthread...hreadid=545027 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I enter formula sum(range+range)*0.15 sumif(range=3) | Excel Discussion (Misc queries) | |||
Excel Addin:Setting the range to the Excel.Range object range prop | Excel Worksheet Functions | |||
Specifiying the worksheet name in a cell | Excel Worksheet Functions | |||
Range.Find returns cell outside of range when range set to single cell | Excel Programming | |||
how to? set my range= my UDF argument (range vs. value in range) [advanced?] | Excel Programming |