Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default position of inserted picture files in Excel 2007

I have a problem with pictures that move when I try to publish an excel
worksheet to html.
I have an excel template into which I insert 5 separate picture files to
certain locations by using: -

ActiveSheet.Shapes.AddPicture temp1, False, True, Range("graph1").Left,
Range("graph1").Top, 300, 200

I then publish the template using: -

ActiveWorkbook.PublishObjects.Add(xlSourceRange, temp6, "Template",
"$B$1:$K$103", xlHtmlStatic, htm1, "").Publish (True)

Although the pictures are perfectly positioned before publishing, the output
displaces the pictures slightly so that they our out of position. This also
happens when doing a straightforward copy-pastespecial as bitmap.

The really strange thing is that the pictures also move in the source excel
template after publishing or copying.

I have only had this problem in EXcel 2007. In Excel 2003 it worked fine.

Any ideas?

Thanks


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
Need inserted lines to print in correct position on Excel graphs Lavonne Charts and Charting in Excel 1 May 27th 09 09:17 AM
how do I write over a picture that was inserted in excel? julicalo Excel Discussion (Misc queries) 1 October 15th 08 05:56 PM
Sizing a picture inserted in an Excel Spreadsheet akkrug New Users to Excel 1 July 30th 08 05:09 PM
How do I save a picture that someone inserted into an Excel file? FLC Excel Discussion (Misc queries) 4 June 5th 08 06:36 PM
picture 34 was inserted by excel? sophy2 Excel Discussion (Misc queries) 1 October 6th 05 02:23 PM


All times are GMT +1. The time now is 10:40 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"