Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
allrignt, see dim x, told ya I was slow. still not sure where to insert.
thanks. "Nastech" wrote: hi, sorry am at least little bit novice, guesse I insert my macro(?) inbetween this somewhere? (dim means dimension? do I have to define that, or is that for my button specified cell.. = "X" ?) thanks. "Bob Phillips" wrote: "FSt1" wrote in message ... hi you can't put a sub within a sub as least not like you are trying to do. You can sort of. Sub Caller() Dim x x = Int(Rnd() * 100) + 1 If x 50 Then GoSub SubInASub x = 3 Exit Sub SubInASub: MsgBox "SubInASub called" End Sub Not sure if this addresses the OP's problem; not saying you should do it; not saying you shouldn't do it; just saying that you can. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I need some VB script please | Excel Discussion (Misc queries) | |||
VB Script | Excel Worksheet Functions | |||
VB script help - please!! | Excel Discussion (Misc queries) | |||
VBA script help..Please !!!! | Excel Discussion (Misc queries) | |||
VB script help..please !! | Excel Worksheet Functions |