Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Win32::OLE AddComment method and MS Office 2013

by Anonymous Monk
on Nov 11, 2014 at 00:09 UTC ( [id://1106763]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Win32::OLE AddComment method and MS Office 2013
in thread Win32::OLE AddComment method and MS Office 2013

s a defined Win32::OLE object.

Yeah, it should always be a defined Win32::OLE object, because Cells() is documented to always return a Range ... even if the range is EMPTY

  • Comment on Re^3: Win32::OLE AddComment method and MS Office 2013

Replies are listed 'Best First'.
Re^4: Win32::OLE AddComment method and MS Office 2013
by woland99 (Beadle) on Nov 11, 2014 at 23:54 UTC
    I think I located the problem. My code was using modular approach - first add/modify spreadsheet content then a separate routine was adding/modifying comments. I think that there is some problem in the way I handle Excel object in between those two calls. If I combine writing out content and adding comments into one function then program works. Should be simple to debug now. Many thanks for all the answers!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1106763]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-26 00:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found