Error: 94 Invalid use of Null (obsolete, no longer used)

Null is a Variant subtype used to indicate that a data item contains no valid data. This error has the following cause and solution:

  • You are trying to obtain the value of a Variant variable or an expression that is Null. For example:
        MyVar = Null 
      For Count = 1 To MyVar 
      . . . 
      Next Count 
    

    Make sure the variable contains a valid value.

[efb_likebox fanpage_url="https://www.facebook.com/vbamarket/" box_width="840" box_height=340"" responsive="1" show_faces="1" show_stream="1" hide_cover="1" small_header="0" hide_cta="0" locale="en_US"]