disabling convert pdf action on excel using VBA RRS feed

  • General discussion

  • Hello All:

    I want to disable Convert to PDF options on certain conditions through VBA  upon right clicking on the excel workbook before opening it. Could anyone please let me know how can it be done?



    Friday, July 14, 2017 8:15 PM

All replies

  • Hi Shwetha,

    Could you share us a screen shot about "Convert to PDF options"? Do you mean you want to disable the function after you open workbook, File->Print->Print to PDF?

    I would suggest you post a new thread which is Question instead of General discussion.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Wednesday, July 19, 2017 5:44 AM
  • Hello Edward,

    I would like to disable it on the context menu that pops up on right clicking on the excel without opening it. For some reason, the forum is not letting me to attach the screen shot.



    Wednesday, July 19, 2017 8:17 PM