Modern-UI-Components-for-VBA icon indicating copy to clipboard operation
Modern-UI-Components-for-VBA copied to clipboard

Save clipboard demo runtime error "VBA_TOOLS.Repositories.Repositorythrew an exception"

Open bettesn opened this issue 3 years ago • 2 comments

I think this may be because I haven't installed this properly - the instructions are rather sparse. I have simply extracted the files into a directory under Documents, copied the demo spreadsheet into the 64-bit sub-directory (as this is a 64-bit Windows 10 machine) and run it from there - is that right?

The above error is on line: filePath = gDll.DLL.Graphics.SaveClipboardToImage("", "", "") in Sub btnSaveClipboard()

(I had to comment out a number of lines in the demo code that raised compile errors but I don't think it gets to any of them...)

bettesn avatar Nov 19 '20 14:11 bettesn

Any luck on fixing this error? I am getting the same error.

ibassari avatar Jul 13 '21 01:07 ibassari

sorry for the late reply. I could not re produce this on my machine. Having said that i'm on 64bit win10 + 64bit office now.

krishKM avatar Jan 28 '22 00:01 krishKM