ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   GetSaveFileName across mixed language network (https://www.excelbanter.com/excel-programming/291135-getsavefilename-across-mixed-language-network.html)

Nick Cranham

GetSaveFileName across mixed language network
 
Any help appreciated with this:
Using the above API to get a path/filename to save an Excel file to. As my
computer (and 1 other) runs English W2K, whilst the rest of network runs
Chinese W2K, it is possible to return a path that contains Chinese
characters.
Using lpstrFile returned from the OPENFILENAME type contains "???", which
then errors, with ..."illegal characters [/\?]"...

Using VBA to call Excel's built in Application.GetSaveAsFilename (which I
imagine is practically the same as calling the API) also errors.

Automation errors also.

NickHK





All times are GMT +1. The time now is 10:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com