# Selenium Zoom with VBA

**URL:** <https://devforum.zoom.us/t/selenium-zoom-with-vba/69438>\
**Category:** Meeting SDK\
**Created:** [May 24, 2022, 8:04am UTC](https://devforum.zoom.us/t/selenium-zoom-with-vba/69438 "2022-05-24T08:04:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![muhammadarsalan866](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/muhammadarsalan866/32/26009_2.png) [@muhammadarsalan866](https://devforum.zoom.us/u/muhammadarsalan866)\
**Post date:** [May 24, 2022, 8:04am UTC](https://devforum.zoom.us/t/selenium-zoom-with-vba/69438/1 "2022-05-24T08:04:03Z")

</div>

I am looking for a way to control zoom in chrome with selenium.  
I have tried

```auto
driver.ExecuteScript ("document.body.style.zoom='75%'") 

```

This zoom in the actual page, NOT like ctrl & -

```auto
driver.ExecuteScript "chrome.settingsPrivate.setDefaultZoom(1.5)"

```

- This wont complie

I have no problems with eg[.](https://www.tommypetrussia.com/) CTRL+a (for selecting evrything

```auto
driver.FindElementByTag("body").SendKeys Keys.Control, "a"

```

but it dosn’t work for SendKeys Keys.Control, Subtract

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [December 27, 2022, 3:28pm UTC](https://devforum.zoom.us/t/selenium-zoom-with-vba/69438/2 "2022-12-27T15:28:46Z")

</div>

@muhammadarsalan866,

Thank you for posting in the Zoom Developer Forum – I am happy to help here. First, can you clarify if you are looking to control Zoom Client or SDK in chrome with selenium?

I am looking forward to your response.
