Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Jul 2002
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Why 'Type Mismatch' when adding cell contents...

    Any idea why I'm getting a

  2. #2
    Silver Lounger
    Join Date
    Mar 2001
    Location
    Springfield, Ohio, USA
    Posts
    2,136
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Why 'Type Mismatch' when adding cell contents...

    In Word, the Cell method returns a Cell object, so
    Set myCell = ActiveDocument.Tables(1).Cell(1,4)
    returns myCell as a Cell object. You need to use the Range property to get at the text of this cell and then convert it to a number, just like regular text in a document. Hope this helps! --Sam
    <font face="Comic Sans MS">Sam Barrett, CACI </font face=comic>
    <small>And the things that you have heard... commit these to faithful men who will be able to teach others also. 2 Timothy 2:2</small>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •