Results 1 to 9 of 9

Thread: Powerpoint to Word

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    VBAX Contributor
    Joined
    Oct 2004
    Posts
    159
    Location
    Informed orginial writer and submitted with ppa attachment

    Code added
    Sub Auto_Open()    ' Add PPTtoWord to Tool Bar when Powerpoint start
        Dim MyControl As CommandBarControl
        On Error Resume Next
        Application.CommandBars("Standard").Controls("PPTtoWord").Delete
        Set MyControl = Application.CommandBars("Standard").Controls.Add(Before:=1)
        With MyControl
            .Caption = "PPTtoWord"
            .FaceId = 567    ' Word Icon
            .Enabled = True
            .Visible = True
            .Width = 100
            .OnAction = "WriteToWord"
            .Style = msoButtonIconAndCaption
        End With
    End Sub
    
    Sub Auto_Close()    ' Delete PPTtoWord from Tool Bar when Powerpoint close
        On Error Resume Next
        Application.CommandBars("Standard").Controls("PPTtoWord").Delete
    End Sub
    Regards.
    Emily
    Last edited by Aussiebear; 06-26-2025 at 11:31 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •