Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Pictures.Insert not working in Excel 2007

I want to insert pictures in an Excel-sheet by a macro.


In Excel 2003 it worked with:
ActiveSheet.Pictures.Insert( "http://www.xy.info/FotoName").Select

But in Excel 2007 i get the error: 1004 - Unable to get the Insert
property of the Pictures class.

Can somebody help me to realize this in Excel 2007?

Thanks a lot
Manfred
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Pictures.Insert not working in Excel 2007

Hi Manfred

This is a bug in Excel 2007 that I report a long time ago
I not know a workaround

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Manfred" wrote in message ...
I want to insert pictures in an Excel-sheet by a macro.


In Excel 2003 it worked with:
ActiveSheet.Pictures.Insert( "http://www.xy.info/FotoName").Select

But in Excel 2007 i get the error: 1004 - Unable to get the Insert
property of the Pictures class.

Can somebody help me to realize this in Excel 2007?

Thanks a lot
Manfred

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 81
Default Pictures.Insert not working in Excel 2007

Ron, I just tested some code I have that uses
Activesheet.Pictures.Insert(filelocation).Select in Excel 2007, and it
worked fine. I did it on a new workbook. Perhaps that is the difference.
I'm using Excel 2007 SP1

Bob Flanagan

"Ron de Bruin" wrote in message
...
Hi Manfred

This is a bug in Excel 2007 that I report a long time ago
I not know a workaround

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Manfred" wrote in message
...
I want to insert pictures in an Excel-sheet by a macro.


In Excel 2003 it worked with:
ActiveSheet.Pictures.Insert( "http://www.xy.info/FotoName").Select

But in Excel 2007 i get the error: 1004 - Unable to get the Insert
property of the Pictures class.

Can somebody help me to realize this in Excel 2007?

Thanks a lot
Manfred



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Pictures.Insert not working in Excel 2007

Test a picture on the Web Bob

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Bob Flanagan" wrote in message . ..
Ron, I just tested some code I have that uses
Activesheet.Pictures.Insert(filelocation).Select in Excel 2007, and it
worked fine. I did it on a new workbook. Perhaps that is the difference.
I'm using Excel 2007 SP1

Bob Flanagan

"Ron de Bruin" wrote in message
...
Hi Manfred

This is a bug in Excel 2007 that I report a long time ago
I not know a workaround

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Manfred" wrote in message
...
I want to insert pictures in an Excel-sheet by a macro.


In Excel 2003 it worked with:
ActiveSheet.Pictures.Insert( "http://www.xy.info/FotoName").Select

But in Excel 2007 i get the error: 1004 - Unable to get the Insert
property of the Pictures class.

Can somebody help me to realize this in Excel 2007?

Thanks a lot
Manfred



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Pictures.Insert not working in Excel 2007

Btw:

This is only a bug with a picture on the Web

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Ron de Bruin" wrote in message ...
Hi Manfred

This is a bug in Excel 2007 that I report a long time ago
I not know a workaround

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Manfred" wrote in message ...
I want to insert pictures in an Excel-sheet by a macro.


In Excel 2003 it worked with:
ActiveSheet.Pictures.Insert( "http://www.xy.info/FotoName").Select

But in Excel 2007 i get the error: 1004 - Unable to get the Insert
property of the Pictures class.

Can somebody help me to realize this in Excel 2007?

Thanks a lot
Manfred

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
ActiveSheet.Pictures.Insert problem in excel 2007 Marvin Excel Programming 6 February 27th 08 05:36 AM
Pictures.Insert not working correctly in excel 2008. Shashi Excel Programming 1 November 20th 07 05:50 PM
How do I insert pictures in excel with the correct aspect ratio? dfb&mkp Excel Discussion (Misc queries) 0 February 12th 06 06:09 AM
Insert & link a graphic file in Excel 2003 -- updatable pictures! ODI Excel Discussion (Misc queries) 7 November 14th 05 02:36 PM
batch insert pictures one time in excel macro robin Excel Programming 1 June 16th 04 03:52 PM


All times are GMT +1. The time now is 11:00 AM.

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"