What's the best way to extract Excel cell comments using Perl or Ruby? -


I am successfully parse Excel documents in Perl (as recommended), but I can not understand how Remove cell comment.

Any thoughts? Will be an ideal model in Pearl or Ruby.

One option is to use Ruby's Virusol Library.

The following (somewhat verbatim) example connects to an open Excel worksheet and receives comment text from cell B2.

  requires 'win32ole' xl = WIN32OLE.connect ('Excel application') ws = xl.ActiveSheet cell = ws.Range ('B2') Comment = cell. Comment text = comment. Text  

More information and examples about using Ruby's Win32ole library can be found here:


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -