Get undo stack items

J

Jonathan West

sos00 said:
Hi guys,
is it any method to get access to Undo Stack of Word ?

Thanks.

All you can do is Undo a number of items. AFAIK there is no way to find out
how many items are available on the undo stack, nor what those actions are.
 
C

Cindy M -WordMVP-

Hi Sos00,
is it any method to get access to Undo Stack of Word ?
You can clear the entire stack, or Undo n number of items.
But there's no way to get any information on the individual
items.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update
Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail
:)
 
K

Klaus Linke

sos00 said:
Hi guys,
is it any method to get access to Undo Stack of Word ?

Thanks.

You can get is the captions in the combo box' list:

Dim myC As CommandBarComboBox
Dim i As Long
Set myC = CommandBars.FindControl(ID:=128)
For i = 1 To myC.ListCount
Debug.Print myC.List(i)
Next i

Regards,
Klaus
 
J

Jean-Guy Marcil

Klaus Linke was telling us:
Klaus Linke nous racontait que :
You can get is the captions in the combo box' list:

Dim myC As CommandBarComboBox
Dim i As Long
Set myC = CommandBars.FindControl(ID:=128)
For i = 1 To myC.ListCount
Debug.Print myC.List(i)
Next i

That's a keeper Klaus!

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
S

sos00

Thanks,
nice tip ...


Klaus Linke said:
You can get is the captions in the combo box' list:

Dim myC As CommandBarComboBox
Dim i As Long
Set myC = CommandBars.FindControl(ID:=128)
For i = 1 To myC.ListCount
Debug.Print myC.List(i)
Next i

Regards,
Klaus
 

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