B
Bert Geenen
I want to automate the sequence of the 5 following keyboard shortcuts
in FrontPage into 1 single macro that I could put on a toolbar and
just click the macro's icon:
Ctrl+N to create a new, empty page in FrontPage
Ctrl+V to paste the contents of the clipboard into the new page
Ctrl+A to select the entire page's contents
Ctrl+[space] to remove any "manual" formatting from the text
Ctrl+S to trigger the SaveAs dialogue box
The lack of any recording possibility in FrontPage makes this much
more difficult to achieve than in e.g. Word or Excel.
E.g. as for the paste command, the only reference in the object model
is PasteHTML, but I just want to insert my text (which is on the
Clipboard, not in any VBA variable) in the "normal view window" of FP.
Any suggestions, examples, of references to the
objects/methods/properties I should use, are very welcome.
Bert Geenen / Belgium
in FrontPage into 1 single macro that I could put on a toolbar and
just click the macro's icon:
Ctrl+N to create a new, empty page in FrontPage
Ctrl+V to paste the contents of the clipboard into the new page
Ctrl+A to select the entire page's contents
Ctrl+[space] to remove any "manual" formatting from the text
Ctrl+S to trigger the SaveAs dialogue box
The lack of any recording possibility in FrontPage makes this much
more difficult to achieve than in e.g. Word or Excel.
E.g. as for the paste command, the only reference in the object model
is PasteHTML, but I just want to insert my text (which is on the
Clipboard, not in any VBA variable) in the "normal view window" of FP.
Any suggestions, examples, of references to the
objects/methods/properties I should use, are very welcome.
Bert Geenen / Belgium