A
A
Artem Golikov2014-12-11 16:28:23
Macros
Artem Golikov, 2014-12-11 16:28:23

How to fix macro in excel for mac?

Actually such a question. There is an excel file of the bank registry, which, using a macro, should be converted into a file, which is then encrypted, signed and sent to the bank ... But I came across the fact that this macro does not want to be executed in excel on a poppy, it says that it cannot create an object and points to an error (as I understand it) in this line DTAddress = CreateObject("WScript.Shell").SpecialFolders("Desktop") &
Application.PathSeparator how to fix this issue? I tried to put Windows excel in parallels, but it didn't help... Thank you in advance for your help!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nicholas Kim, 2014-12-11
@Yaruson

Just try to write the path in DTAddress, for example DTAddress = "/Users/krishnacore/".
Hardly Mac has WScript.Shell :-)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question