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

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

HackSlash

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

Forum statistics

Threads
1,136,303
Messages
5,674,970
Members
419,537
Latest member
ucatchy

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