Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Microsoft Visual Basic

how do I get the reference of the cell where a pictue/shape resides?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Microsoft Visual Basic

Try something like the following:

Dim SH As Shape
Set SH = ActiveSheet.Shapes("TheShape")
Debug.Print SH.TopLeftCell.Address


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"ecpl_3" wrote in message
...
how do I get the reference of the cell where a pictue/shape
resides?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft Visual Basic errors displaid when opening Microsoft Word 97 & Excel (7 JJ mac Setting up and Configuration of Excel 7 June 14th 07 06:54 PM
(ERROR) Microsoft Visual Basic: 400 Ed Excel Discussion (Misc queries) 2 August 29th 06 05:15 PM
microsoft visual basic Yusuf Patel Excel Programming 1 November 20th 04 03:24 PM
Microsoft Visual Basic for Applications Extensibilty 5.3 jason Excel Programming 2 August 12th 04 08:51 AM
Help menu in Microsoft Visual Basic oka Excel Programming 0 November 26th 03 10:09 AM


All times are GMT +1. The time now is 01:52 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"