Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]() Hi ! I'm trying this code but I have a code error 9 Can you help me ? Private Sub Cmd_Valid_Click() Dim c As Integer c = 1 For c = 1 To 12 If Range("R28").Value = c Then Zone = "Feuil" & c + 4 End If Next c MsgBox "Selected sheet is" & Zone LaPremiereDispo = Sheets(Zone).Range("E65536").End(xlUp).Offset(1, 0).Row MsgBox "the first cell for this month is" & LaPremiereDispo End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Change case...help please | Excel Worksheet Functions | |||
Using other workbooks.. | Excel Worksheet Functions | |||
Make Change Case in Excel a format rather than formula | Excel Worksheet Functions | |||
Opening a file with code without a set file name | Excel Discussion (Misc queries) | |||
Opening a file with code without a set file name | Excel Discussion (Misc queries) |