arc90 lab | tools: Link Thumbnail
Excel Help Forum
ExcelTip.com
Account Icon Account Icon Account Icon
ExcelTip.com

Go Back   Excel Help Forum > Microsoft Office Application Help - Excel Help forum > Excel Programming > Excel Charting

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-27-2005, 01:05 AM
Hubris00
Guest
 
Posts: n/a
Scatterplot chart area changes size on different systems


Hi,

I'm using VB to automate Word & MSGraph to generate an XY
scatterplot. Everything works perfectly on my system (Windows
2000/Office 2000 with current service packs).

However, when a client uses the same VB app, with the same operating
system and the same Office version, the scatterplots change size...

when the client uses the VB app on Windows XP with office 2000 the
scatterplots come out at the correct size.

The plots are insrted into a table cell in Word, and their Height and
Width are set as InchesToPoints(4.44)...


We've tried changing every option in Tools.Options, but no luck.
We've also tried changing the Display Settings.Advanced.Font Size to
match...

nothing has worked.

Has anyone else seen this kind of behavior?...and found a solution??

Thanks,
-Chris


--
Hubris00
Reply With Quote
  #2  
Old 10-27-2005, 07:05 PM
Hubris00
Guest
 
Posts: n/a
Re: Scatterplot chart area changes size on different systems


I may have found my own solution.... I'll post here for any other lost
souls..

I had a thought that the difference between systems might have been
Word's Normal.dot file, which is the base template for New documents.
So I created my own .dot file and included it with the VB app
distribution, and used it as a template when creating the new Word docs
with the sctterplot graphs.

VB6 code:
Dim oWord As Word.Application
Dim oDoc As Word.Document

'Start Word and open the document template.
oWord = CreateObject("Word.Application")
oWord.Visible = True
oDoc = oWord.Documents.Add (Template:= _
App.path & "\Template.dot" _
, NewTemplate:=False, DocumentType:=0)

So far so good, the client is reporting no scatterplot distortions...

Hope this helps someone else.

-Chris


--
Hubris00
Reply With Quote
Reply

Bookmarks

New topics in Excel Charting


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -4. The time now is 07:00 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0