I'm currently making a form in excel which can dynamically change picture placements based on user input. So far I've done everything without needing to use any VBA. My current issue is that when I zoom out the pictures become misaligned and don't always realign when I zoom back in so I'm looking for a way to keep the zoom at 100% whenever a user might try to change it. I've done a bit of research on the code required but I figured I'd ask here myself.
Here's what I can think of to do:
This could be totally off but that's why I'm here. Any suggestions on how to do this and where to place the code would be much appreciated.
Thanks!
Here's what I can think of to do:
Code:
<code style="margin: 0px; padding: 0px; font-style: inherit; font-weight: inherit; line-height: 12px;">If Windows("WorkbookName.xlsx").Zoom <> 100 Then
Windows("WorkbookName.xlsx").Zoom = 100
End If
</code>
Thanks!