PC Review


Reply
Thread Tools Rate Thread

Checking for a picture

 
 
MM User
Guest
Posts: n/a
 
      27th Nov 2007
Hi,

This is a follow up from my previous mail, is it possible to check if a
picture is present on a particular cell i.e. check if graphic1 exist on Cell
A1 and also check its size?

Thanks!

 
Reply With Quote
 
 
 
 
Joel
Guest
Posts: n/a
 
      28th Nov 2007

Sub test4()
For Each pict In ActiveSheet.Shapes
firstrow = pict.TopLeftCell.Row
firstcolumn = pict.TopLeftCell.Column
myheight = pict.Height 'pixiles
mywidth = pict.Width 'pixiles
lastrow = pict.BottomRightCell.Row
lastcolumn = pict.BottomRightCell.Column
totalrows = lastrow - firstrow + 1
totalcolumns = lastcolumn - firstcolumn + 1


Next pict

End Sub
"MM User" wrote:

> Hi,
>
> This is a follow up from my previous mail, is it possible to check if a
> picture is present on a particular cell i.e. check if graphic1 exist on Cell
> A1 and also check its size?
>
> Thanks!
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Spell Checking with checking cell notes =?Utf-8?B?amZpdHpwYXQ=?= Microsoft Excel Misc 0 8th Aug 2007 10:26 PM
Checking range of cells for entry then checking for total =?Utf-8?B?QmFyYiBSZWluaGFyZHQ=?= Microsoft Excel Programming 1 13th Oct 2006 02:47 PM
Some Word docs not spell checking even after checking settings. =?Utf-8?B?WmVl?= Microsoft Word Document Management 3 26th Feb 2006 01:45 PM
Conflicting used space information when checking the drive property against marking all files and checking the marked file properties. elloko Windows XP Configuration 3 19th Dec 2004 05:34 AM
e mail..after rec e mail with picture as an attachment. unable to fwd picture, message has no picture, only blank with red x =?Utf-8?B?YW4gb2xkIGRvZyBpbiB3eW9taW5n?= Windows XP Accessibility 0 25th Mar 2004 03:11 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:53 AM.