+ Reply to Thread
Results 1 to 5 of 5

Run-time error 438 - when controlling Excel remotely

  1. #1
    Forum Contributor
    Join Date
    06-13-2009
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    245

    Run-time error 438 - when controlling Excel remotely

    hello, could some one please look at my code and advise on how to fix my excel 2003 run-time error 438 "Object doesn't support this property or method" error? The VBE highlights this line of code:

    Please Login or Register  to view this content.
    The code below is the entire macro:

    Please Login or Register  to view this content.

    Any help on this would be greatly appreciated.

    Kind regards,

    Chris
    Last edited by longbow007; 08-13-2009 at 08:35 PM.

  2. #2
    Forum Contributor
    Join Date
    04-01-2009
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2010
    Posts
    280

    Re: Run-time error 438 - help please

    Excel does not support the Documents (MS Word) command...
    Please Login or Register  to view this content.
    Use Workbooks insteam...
    Please Login or Register  to view this content.
    Last edited by Leith Ross; 08-13-2009 at 08:14 PM. Reason: Added Code Tags

  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Run-time error 438 - help please

    Hello longbow007,

    Please change your tile to more accurately reflect your question or problem. Refrain from generic titles like "Need Help", "Urgent", "Have Problem", etc.

    A better title would be "Run-time error 438 when controlling Excel remotely"
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Run-time error 438 - help please

    Hello Chances2,

    Please remember to use code tags in the future.

  5. #5
    Forum Contributor
    Join Date
    06-13-2009
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    245

    Re: Run-time error 438 - when controlling Excel remotely

    Thanks Chance2 and Leith Ross for all your help - very much appreciated. Your revised code works well

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1