Like you I find it much easier to find .NET code samples for dealing with Office than PowerBuilder code. So I learnt how to call .NET code from PowerBuilder (Calling .NET from PowerBuilder | Tom Krueger) and now write all my stuff in C#. It does mean you have to learn a bit of C# but it's not so hard given all the example code on the internet. I handle SMTP, Outlook, Excel, Word and quite a few other things this way and it works well.
↧