Excel into Word

E

EA

In Office 2000 the code below inserts the new object with a ScaleHeight =
100% and a ScaleWidth = 100%

Set MyShape = MyRange.InlineShapes.AddOLEObject(ClassType:="Excel.Sheet.8",
_
FileName:=sPATH,
_
LinkToFile:=False,
_
DisplayAsIcon:=False)

When the same code is run on Office 2003 the ScaleHeight = 97% and the
ScaleWidth = 105%.

Can anyone explain this?

Equally importantly, can anyone provide a way of ensuring the import Excel
sheet's ScaleHeight and ScaleWidth = 100%
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top