Hi

I am new to VB programming.

I need to find a way of detecting images within a word document, 
naming them and then copying them. The code I am using is not 
returning any value for ActiveDocument.InlineShapes(i).

   count = ActiveDocument.InlineShapes.count
   
   I GET THE NUMBER IMAGES IN DOCUMENT

   for i = 1 TO count
      shape = ActiveDocument.InlineShapes(i)
      
      DISPLAYED VALUE OF SHAPE IS EMPTY BUT VALUE OF I IS CORRECT  
      I.E i = 1 AND 2

   next i

Could anyone help or verfity it can be done?

Thanks in advance









'// =======================================================
    Rules : http://ReliableAnswers.com/List/Rules.asp
    Home  : http://groups.yahoo.com/group/vbHelp/
    =======================================================
    Post  : [email protected]
    Join  : [EMAIL PROTECTED]
    Leave : [EMAIL PROTECTED]
'// =======================================================
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/vbhelp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to