Search results

  1. J

    using a textbox value as a string in a file name

    Something like this should be OK: dim strFileName as string dim strMyVariable as string strFileName = Format (myTextBox.Value, "dd-mm-yy") strMyVariable = "c:\directory\" & strFileName & ".csv" Note that there needs to be a trailing "\" after the directory and that "/" is an illegal...
Back
Top Bottom