Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to reset each parameter in an Array = 0 or " ". Why can I not make
myDes = Nothing. I am getting an error below. If I set myDes = 0 everything works fine, but it will not work when myDes = Nothing Sub ResetVariables() Dim myBOM_Des As Variant Dim myDes As Variant ' row location of part on "Parts List" myBOM_Des = Array(AlumFace_Row, Texture_Row, Primer_Row, Paint1_Row, Paint2_Row, Paint3_Row, Paint4_Row, Vinyl1_Row, _ Vinyl2_Row, Vinyl3_Row, Vinyl4_Row, ClearVinyl_Row, Ink_Row, Plastic_Row) ' sets row locations to Nothing For Each myDes In myBOM_Des ERROR = myDes = Nothing Next myDes. End Sub -- Cheers, Ryan |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
?? Create a Public SUB with an array as parameter. ?? | Excel Programming | |||
SOS-How to pass array parameter to Workbooks.OpenText(...) in VC++ | Excel Programming | |||
ReDim Object array as parameter of Variant array | Excel Programming | |||
Excel2000: Declaring function parameter as an array | Excel Programming | |||
Excel2000: UDF's parameter as cell range OR array | Excel Programming |