ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   align a picture/shape in a Range! (https://www.excelbanter.com/excel-programming/307611-align-picture-shape-range.html)

Andoni[_18_]

align a picture/shape in a Range!
 
Hi!
Many Thanks in advance!

I have a few pictures, and or shapes.
I do not want to change the Height or Width or my picture

I have a range("A1:H10")
How can I:

insert my picture as follws
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlCenter
so; keep my picture aligned horizontally and vertically in the middl
of my range "A1:H10"


See you

--
Message posted from http://www.ExcelForum.com


JK

align a picture/shape in a Range!
 
Unless your pictures are all different sizes, I would size cells A1:H10 to
the exact size of the picture and paste in A1.

Regards
Jim Kobzeff

"Andoni " wrote in message
...
Hi!
Many Thanks in advance!

I have a few pictures, and or shapes.
I do not want to change the Height or Width or my picture

I have a range("A1:H10")
How can I:

insert my picture as follws
HorizontalAlignment = xlCenter
VerticalAlignment = xlCenter
so; keep my picture aligned horizontally and vertically in the middle
of my range "A1:H10"


See you!


---
Message posted from http://www.ExcelForum.com/





All times are GMT +1. The time now is 09:55 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com