Logit, Not every language version will work properly with your code. Some versions have localized Boolean values. Therefore, do not use this construction:
E.g. in Norway, using your code, cancelling the window would return Usann, so comparing Usann <> False will allow you to export the file, which of course will end in an error.
Rather, you should aim for this appearance:
The GetSaveAsFilename method returns a Variant type. If the window was canceled, it returns a Boolean value False, if the user made a file selection, the return value is of type String.
I quite often use such, at first glance, non-obvious construction.
You have to think a little about what the poet had in mind. 
aresquare1, You can also try this code, which I think gives more manipulation possibilities than just adding a new line.
Artik
Bookmarks