Picture resizes when I run a macro

Steven Cohen

New Member
Joined
Jul 6, 2016
Messages
26
Hi All

I have an invoicing system as a project. I have multiple entities that need to be invoiced by other entities. I have set up one single invoice for the sake of uniformity and when my macro runs, it selects the appropriate letterhead from each company. When I run my macro by pressing F8 and doing it all step by step it works perfectly, but when I run the macro as it will be, it shrinks the letterhead down to a minimal size and its illegible.

For picture properties I have tried all the different possibilities. I have tried all combinations:
ticking / unticking the 'Lock aspect ratio'
ticking / unticking the 'Relative to original picture size'
manually entering the Height/Width
Properties:
all 3 options - Move & size with cells / Move but don't size with cells / Don't move or size with cells
and tick / untick Locked

I am hoping it will be an easy fix that I have overlooked somewhere, any help will be appreciated. It will be quite tedious to set up 30 invoices and the macros to go along with them all.

Thanks
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

HackSlash

Active Member
Joined
Nov 18, 2016
Messages
360
If you want help you need to post the code that is moving the picture.
 

Watch MrExcel Video

Forum statistics

Threads
1,133,532
Messages
5,659,371
Members
418,499
Latest member
mbcmel

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top