undo

1

11x22

I'm wondering about Undo functionality in Office Components. I'm just
starting my research but from what I see there's no Undo in Excel, there's
a kind of total Undo in PowerPoint and a very "granulated" Undo in Word.

I have also heard that there is actually no way to have Undo with your
Addins in an Excel Application, the only thing you can do is to use OnUndo
which (from what I've heard) works only with VB macros, and I'm writing a
C++ Addin for some reason so it is not very convinient. Is it true?

I'm also wondering about Word Undo. I think it has to many steps, I would
like to minimize them somehow. I mean steps made by mu Addin. What I do is
something like:

WordL::RangePtr pRange = ...
pRange->Text = ...
pRange->Characters()->Font = ..

and things like that. I'm wondering whether there's is something like
RichEditControl Freeze() function in Word? I can't find it. Or maybe some
Merge functionality without the need to use VB?

And the last one comes to PowerPoint. Undo there seem to work not like in
Word and Excel, pressing Ctrl-Z just Undoes everything my Addin did
(even with previous modification occured after previous pressing of my
toolbar buttons).

As I've mentioned I'm just starting my research so I may have not enough
information and I will most probably have more exact questions, but can
you give me some good start with links, answers, ideas or any information
about Undo steps, how to merge several actions into one Undo step, how to
make Freeze() or how to implement Undo in Excel Addin without the use of
VB?

Thank you kindly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top