I have an excel vba macro which downloads a single file. In a 64-bit office it runs well but I'm facing problems in 32-bit version in declarations section.
The code in 64-bit is like this: pastebin /0uqVR60p (since im a new member im not allowed to post links yet)
but in 32-bit version it brings me errors like "Expected Sub or Function" and highlights PtrSafe then I fixed this by adding "Sub" before "PtrSafe" but it gave me another error which says "Expected Lib" then I fixed this by removing "Function Test" but now I have to declare this function somewhere because it is used on the code.
Can someone help me please?
Bookmarks