Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I would like to put this code in a module outside of UserForm1 but the
module stops when it gets to rng1(1, 6). The UserForm is displayed when the code is run and there is a line: Dim rng1 As Range in the General Declaration area of the UserForm, and I have the following: Set rng1 = Cells(ActiveCell.Row, 1) which run prior to calling the routine below. Sub TextBoxData() 'No Show 1 UserForm1.TextBox2202.Value = rng1(1, 6) 'Date of No Show UserForm1.TextBox2202.Value = Format$(UserForm1.TextBox2202.Value, "ddd dd mmm yy") UserForm1.TextBox2203.Value = rng1(1, 7) End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Command button calculation from Userform and Cell reference | Excel Programming | |||
automatic range - named range give me circular reference... | Excel Discussion (Misc queries) | |||
Cell reference to userform | Excel Programming | |||
Reference a cell in a worksheet from a userform | Excel Programming | |||
Userform cell reference help | Excel Programming |