# Execution script powershell in macro excel/word

**URL:** <https://forums.powershell.org/t/execution-script-powershell-in-macro-excel-word/2819>\
**Category:** PowerShell Help\
**Created:** [July 13, 2014, 2:55am UTC](https://forums.powershell.org/t/execution-script-powershell-in-macro-excel-word/2819 "2014-07-13T02:55:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![name-name](https://avatars.discourse-cdn.com/v4/letter/n/b3f665/32.png) [@name-name](https://forums.powershell.org/u/name-name)\
**Post date:** [July 13, 2014, 2:55am UTC](https://forums.powershell.org/t/execution-script-powershell-in-macro-excel-word/2819/1 "2014-07-13T02:55:34Z")

</div>

Hi,  
you can run a powershell script in a macro excel / word?  
If you are, you can see an example of application …  
Thanks!

---

<div class="post-metadata">

**Author:** ![donj](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/donj/32/137_2.png) [@donj](https://forums.powershell.org/u/donj)\
**Post date:** [July 13, 2014, 2:56am UTC](https://forums.powershell.org/t/execution-script-powershell-in-macro-excel-word/2819/2 "2014-07-13T02:56:51Z")

</div>

No, not really. The most you could possibly do is have them run the PowerShell.exe executable, and feed it the name of a script to run. Office’s macro language is a lot older than PowerShell.

---

<div class="post-metadata">

**Author:** ![name-name](https://avatars.discourse-cdn.com/v4/letter/n/b3f665/32.png) [@name-name](https://forums.powershell.org/u/name-name)\
**Post date:** [July 13, 2014, 2:59am UTC](https://forums.powershell.org/t/execution-script-powershell-in-macro-excel-word/2819/3 "2014-07-13T02:59:22Z")

</div>

Ok. Thanks!

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:47pm UTC](https://forums.powershell.org/t/execution-script-powershell-in-macro-excel-word/2819/4 "2024-05-16T20:47:51Z")

</div>


