You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem in VBA with Range.CopyPicture method. Is this problem solved in xlwings? CopyPicture randomly generates error in VBA, please try this simple test in your VBA:
I wonder if using xlwings will solve my problem. I design controlling reports that are sent by e-mail and I sometimes need to attach an image from a range of cells.
Per Microsoft, Range has a method CopyPicture() - https://msdn.microsoft.com/en-us/library/microsoft.office.interop.excel.range.copypicture.aspx
When testing in xlwings, using:
I get this error
Perhaps there is another solution for taking a screenshot of a worksheet or range within xlwings, but I did not see it in the docs.
The text was updated successfully, but these errors were encountered: