antaeusguy
Board Regular
- Joined
- Mar 8, 2010
- Messages
- 81
Hello
I've a workbook which contains 50 worksheets. I want to insert a small picture (a company logo) in cell A1 in each worksheets.
I used the macro recorder to insert a single picture into a single worksheet and it gives this code:
I decided that I can write a for each.... next loop to do this.
However, I wanted to find out more about the Pictures object in the Object Browser but it is unavailable.
Activesheet is a Sheet object, I look into the Sheet class (Sheet1, Sheet2, Sheet3 etc..) but couldn't find Pictures listed as one of 'Sheet' members in the Object Browser... neither it's in the Sheets class.
Does anyone knows where to find more information about the Pictures object and it's member Insert? Thank you.
I've a workbook which contains 50 worksheets. I want to insert a small picture (a company logo) in cell A1 in each worksheets.
I used the macro recorder to insert a single picture into a single worksheet and it gives this code:
Code:
ActiveSheet.Pictures.Insert( _
"C:\Documents and Settings\edmund\My Documents\My _
Pictures\Logo.jpg").Select
I decided that I can write a for each.... next loop to do this.
However, I wanted to find out more about the Pictures object in the Object Browser but it is unavailable.
Activesheet is a Sheet object, I look into the Sheet class (Sheet1, Sheet2, Sheet3 etc..) but couldn't find Pictures listed as one of 'Sheet' members in the Object Browser... neither it's in the Sheets class.
Does anyone knows where to find more information about the Pictures object and it's member Insert? Thank you.