Print needs the debug object, But that's not going to help you. The Debug display is one thing, saving the data is another.
Debug.Print "location is " & data
Stick with the & even though print uses ; for concatonate.
You'll eventually need to open an output file and use the [tt]
FileHandle = FreeFile
OPEN FilePath FOR OUTPUT AS #FileHandle
...
PRINT #FileHandle, "location is " & data
...
Close FileHandle
[/tt]
There are numerous other methods for using files, these are only the basics... There are lots of threads dealing with this topic too.
Wil Mead
wmead@optonline.net