From: webbfamily@DIESPAMDIEoptusnet.com.au   
      
   "Dean Earley" wrote in message   
   news:46dd60ec$0$13924$fa0fcedb@news.zen.co.uk...   
   > Peter Webb wrote:   
   >> Yeah ... I want to control powerpoint with Excel, drawing slides using   
   >> powerpoint.   
   >>   
   >> I've got the graphics happening in Excel, but I want them on slides.   
   >>   
   >> Now I have a different problem, which (I'm sorry I have nowhere else to   
   >> turn) is as follows.   
   >>   
   >> I include the powerpoint class libraries, and they have their own shape   
   >> libraries, which are exactly the same except they draw on a slide.   
   >> However, I now have two subtly different classes, both called "shape".   
   >> When I key in   
   >>   
   >> Dim abc As Shape   
   >>   
   >> I get two choices for "Shape", and I seem to have no idea which class I   
   >> have created. Is there some way to force it to use the class I want?   
   >   
   > You will need to qualify them with a library name, which I THINK (I don't   
   > use Office or VBA) are Excel and PowerPoint.   
   >   
   > Dim abc As Excel.Shape   
   >   
      
   I have no idea why I didn't work this out for myself. It worked brilliantly.   
   Thankyou.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|