Results 1 to 2 of 2
  1. #1
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    why!!!!! (2000 sr 1) (2000 sr 1)

    ... during the the import of the txt file i recieve "error 1004"???????????????????

    Macro is in module2
    The file of txt is in the zip file (regione.02)

  2. #2
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,225
    Thanks
    14
    Thanked 342 Times in 335 Posts

    Re: why!!!!! (2000 sr 1) (2000 sr 1)

    When I run it, the variable "n" is not defined (it is empty), since the your function "FirstFree" does not return anything. It never goes into the "Do Loop" so FIrstFree is never given a value to return

    What value do you want FirstFree to define if it never enters the loop? Define this initially and that value will be returned.

    Steve

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •