If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Insert picture with VBA
I am using PowerPoint 2002
Basically I want to click one button and it brings up the browser to choice the picture I would like to insert. If you used the menu it would be Insert picture From File. I have also seen a placeholder (Click icon to add content) that has insert picture icon on it but it also has Insert table, Insert Chart, Insert Clip Art, etc this would work but only if there was just the Insert Picture Icon. I would also like to have a preview of the image like in the Insert picture From File. I have seen postings where the path of the file is hard coded in VBA or you type it in. This is not what I am looking for. Any suggestion? |
#2
|
|||
|
|||
If there is a button (regardless of how nested in sub-menus it is) than you
can place that button on any menu bar you want. Just use the Customize toolbars options. Under PowerPoint - Help - "add button toolbar" you should get the details on how to add a button to a toolbar. -- Bill Dilworth A proud member of the Microsoft PPT MVP Team Users helping fellow users. billdilworth.mvps.org -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ yahoo2@ Please read the PowerPoint yahoo. FAQ pages. They answer most com of our questions. www.pptfaq.com .. .. "wschiro" wrote in message news I am using PowerPoint 2002 Basically I want to click one button and it brings up the browser to choice the picture I would like to insert. If you used the menu it would be Insert picture From File. I have also seen a placeholder (Click icon to add content) that has insert picture icon on it but it also has Insert table, Insert Chart, Insert Clip Art, etc this would work but only if there was just the Insert Picture Icon. I would also like to have a preview of the image like in the Insert picture From File. I have seen postings where the path of the file is hard coded in VBA or you type it in. This is not what I am looking for. Any suggestion? |
#3
|
|||
|
|||
Thanks Bill, but for this projects I am sure if I can modify the menu on
someone else’s computer. I was hoping for some code that I would open the insert picture dialog? I know I can do it in word with Private Sub CommandButton1_Click() Dialogs(wdDialogInsertPicture).Show End Sub Is there something similar in PowerPoint? I would then like to size and position it via code. "Bill Dilworth" wrote: If there is a button (regardless of how nested in sub-menus it is) than you can place that button on any menu bar you want. Just use the Customize toolbars options. Under PowerPoint - Help - "add button toolbar" you should get the details on how to add a button to a toolbar. -- Bill Dilworth A proud member of the Microsoft PPT MVP Team Users helping fellow users. billdilworth.mvps.org -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ yahoo2@ Please read the PowerPoint yahoo. FAQ pages. They answer most com of our questions. www.pptfaq.com .. .. "wschiro" wrote in message news I am using PowerPoint 2002 Basically I want to click one button and it brings up the browser to choice the picture I would like to insert. If you used the menu it would be Insert picture From File. I have also seen a placeholder (Click icon to add content) that has insert picture icon on it but it also has Insert table, Insert Chart, Insert Clip Art, etc this would work but only if there was just the Insert Picture Icon. I would also like to have a preview of the image like in the Insert picture From File. I have seen postings where the path of the file is hard coded in VBA or you type it in. This is not what I am looking for. Any suggestion? |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting up protected document that can insert picture (photo ID template) | Craig | Page Layout | 5 | July 13th, 2007 01:15 PM |
How can I insert a picture in pdf format into powerpoint? | Trang | Powerpoint | 3 | January 14th, 2005 03:33 AM |
Insert Picture | Jimmy | Setting up and Configuration | 2 | October 15th, 2004 02:22 AM |
Insert picture onto form | Phil | Using Forms | 0 | September 16th, 2004 01:56 PM |
How to insert picture based on numeric value in another cell? | James Norton | Worksheet Functions | 16 | August 24th, 2004 09:58 PM |