TestLink--ExcelMacros icon indicating copy to clipboard operation
TestLink--ExcelMacros copied to clipboard

The import TC from Testlink doesnt work on Mac OS

Open quangtringuyen opened this issue 8 years ago • 4 comments

The error is pointing to here Set fd = Application.FileDialog(msoFileDialogFilePicker)

Maybe Mac OS doesnt have File Dialogue

quangtringuyen avatar Feb 21 '17 15:02 quangtringuyen

Seems you're right :https://answers.microsoft.com/en-us/msoffice/forum/msoffice_excel-mso_mac/vba-with-excel-for-mac-calling-the-file-dialog/e8cb0bdb-a0d2-4379-842a-d6b9efe9f66f

MrBricodage avatar Feb 21 '17 20:02 MrBricodage

Can you try to adapt the macro with code provided here : https://nhcuong.wordpress.com/2012/03/27/use-an-open-file-dialog-in-vba-with-both-mac-and-windows/

I can't test, no Mac here...

MrBricodage avatar Feb 21 '17 20:02 MrBricodage

The code is a little bit complicated to me. Can you please modify the code, I am willing to test.

quangtringuyen avatar Feb 24 '17 17:02 quangtringuyen

I'm sorry but you'll have to wait that somebody that is able to code and test provide his solution. I can't develop blindly.

Regards

MrBricodage avatar Feb 25 '17 15:02 MrBricodage