Skip to content

Instantly share code, notes, and snippets.

View otabekgh's full-sized avatar

Otabek Gulomov otabekgh

View GitHub Profile
@otabekgh
otabekgh / macros_resize_images.bas
Last active August 19, 2026 17:28
macros resize images
Option Explicit
'=== Resize every picture to a % of its ORIGINAL size, then centre it. ===
'=== Always measured from the original, so repeated runs never compound. ===
'=== Display size only - the embedded image data is untouched. ===
'=== Enter 100 to reset all pictures back to original size. ===
'=== Default = your most-used value (ties broken by most recent). ===
'=== Type CLEAR to forget the history. ===
Public Sub ResizeAllImages()