ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   inserting a jpg file (https://www.excelbanter.com/excel-programming/433409-inserting-jpg-file.html)

thomas donino

inserting a jpg file
 
I have a jpg of a logo on a worksheet. when i insert it i use

objpic.left
objpic.ltop
objpic.width
objpic.height

I am currently using rowheight as the height and the cell range as the
width. if you right click a picture and go to properties there are settings,
for example height = .76" width =2.1". is there a way to use these settings
rather than pixels of the columnwidth or rowheight?
__________________

Barb Reinhardt

inserting a jpg file
 
I think that 1 inch = 72 pixels, so try that.

"thomas donino" wrote:

I have a jpg of a logo on a worksheet. when i insert it i use

objpic.left
objpic.ltop
objpic.width
objpic.height

I am currently using rowheight as the height and the cell range as the
width. if you right click a picture and go to properties there are settings,
for example height = .76" width =2.1". is there a way to use these settings
rather than pixels of the columnwidth or rowheight?
__________________


Chip Pearson

inserting a jpg file
 

I think that 1 inch = 72 pixels, so try that.


1 inch = 72 Points, not pixels.

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)

On Thu, 10 Sep 2009 10:38:44 -0700, Barb Reinhardt
wrote:

I think that 1 inch = 72 pixels, so try that.

"thomas donino" wrote:

I have a jpg of a logo on a worksheet. when i insert it i use

objpic.left
objpic.ltop
objpic.width
objpic.height

I am currently using rowheight as the height and the cell range as the
width. if you right click a picture and go to properties there are settings,
for example height = .76" width =2.1". is there a way to use these settings
rather than pixels of the columnwidth or rowheight?
__________________


Harry Sorensen[_2_]

inserting a jpg file
 
I think that pixels per inch is a screen set up

and if it rains there is 100 points to the inch

even if it does not rain I think that there is still 100 points / inch


"Chip Pearson" wrote:


I think that 1 inch = 72 pixels, so try that.


1 inch = 72 Points, not pixels.

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)

On Thu, 10 Sep 2009 10:38:44 -0700, Barb Reinhardt
wrote:

I think that 1 inch = 72 pixels, so try that.

"thomas donino" wrote:

I have a jpg of a logo on a worksheet. when i insert it i use

objpic.left
objpic.ltop
objpic.width
objpic.height

I am currently using rowheight as the height and the cell range as the
width. if you right click a picture and go to properties there are settings,
for example height = .76" width =2.1". is there a way to use these settings
rather than pixels of the columnwidth or rowheight?
__________________



Gord Dibben

inserting a jpg file
 
Pixels...........about 96 to the inch depending upon resolution.

Points..........72 to the inch.............not resolution dependent.


Gord Dibben MS Excel MVP

On Sun, 25 Oct 2009 14:20:01 -0700, Harry Sorensen
wrote:

I think that pixels per inch is a screen set up

and if it rains there is 100 points to the inch

even if it does not rain I think that there is still 100 points / inch


"Chip Pearson" wrote:


I think that 1 inch = 72 pixels, so try that.


1 inch = 72 Points, not pixels.

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)

On Thu, 10 Sep 2009 10:38:44 -0700, Barb Reinhardt
wrote:

I think that 1 inch = 72 pixels, so try that.

"thomas donino" wrote:

I have a jpg of a logo on a worksheet. when i insert it i use

objpic.left
objpic.ltop
objpic.width
objpic.height

I am currently using rowheight as the height and the cell range as the
width. if you right click a picture and go to properties there are settings,
for example height = .76" width =2.1". is there a way to use these settings
rather than pixels of the columnwidth or rowheight?
__________________





All times are GMT +1. The time now is 03:12 PM.

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