1

How can I write a macro in Powerpoint to select any option (Radio Button) that is displayed when you call "Create Handouts in Microsoft Word" (Office Button-> Publish -> Create Handouts in Microsoft)?

The macro to call "Create Handouts in Microsoft Word" is

Application.CommandBars.ExecuteMso ("CreateHandoutsInWord")

But I need to know how to write the macro to select the options (like "Notes Next to slide" , "Blank Lines next to line", "Notes below slides" etc...) from the window that would be displayed when you call the above macro.

Gaffi
  • 4,307
  • 8
  • 43
  • 73
Langdon
  • 53
  • 1
  • 8

1 Answers1

0

The solution for the above question is:

Application.CommandBars.ExecuteMso ("CreateHandoutsInWord")
SendKeys "{TAB}", True
SendKeys "{TAB}", True
SendKeys "{DOWN}", True      'Repeat as required...
SendKeys "{ENTER}", False here

See http://msdn.microsoft.com/en-us/library/aa202943(v=office.10).aspx for more details

Langdon
  • 53
  • 1
  • 8