What is the best way to find documents with macros

Alison Slater 80 Reputation points
2025-02-10T06:36:43.4033333+00:00

Can you please advise the best way to find documents that contain macros in SharePoint 2013 On premise library and / or site. So far I have only found information related to running a PowerShell Script - I really need a reports with the exact documents in libraries and sites.

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,290 questions
0 comments No comments
{count} votes

Accepted answer
  1. Xyza Xue_MSFT 28,221 Reputation points Microsoft Vendor
    2025-02-10T08:10:21.9666667+00:00

    Hi @Alison Slater ,

    Unfortunately, there is no built-in feature in SharePoint 2013 that provides a direct report listing all documents with macros. The PowerShell approach remains the most viable method for automation and efficiency.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.