+ Reply to Thread
Results 1 to 3 of 3

Macro should save as and close word doc, invalid or unqualified reference error

  1. #1
    Forum Contributor
    Join Date
    04-02-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    452

    Macro should save as and close word doc, invalid or unqualified reference error

    This section of code should save and close my word document (it is an excel macro that modifies the word document).
    Please Login or Register  to view this content.
    When I run the macro I get a Compile Error: invalid or unqualified reference. at this line
    Please Login or Register  to view this content.
    When I click the help button I get the following message, "An identifier beginning with a period is valid only within a With block. This error has the following cause and solution: The identifier begins with a period. Complete the qualification of the identifier or remove the period." Removing the period does not solve the problem.

    How should the code be modified to work? Thank you in advance.

  2. #2
    Forum Contributor
    Join Date
    04-02-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    452

    Re: Macro should save as and close word doc, invalid or unqualified reference error

    I displayed only the end of the code above, here is the complete code.
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    04-02-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    452

    Re: Macro should save as and close word doc, invalid or unqualified reference error

    Bump, anyone?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Getting error invalid or unqualified reference
    By mso3 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 07-20-2014, 08:15 PM
  2. [SOLVED] Getting error invalid or unqualified reference
    By mso3 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-14-2014, 02:17 AM
  3. [SOLVED] Getting error invalid or unqualified reference
    By mukeshbaviskar in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-23-2014, 11:31 PM
  4. [SOLVED] Invalid or Unqualified Reference Error
    By Trevasaurus in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-28-2013, 11:44 AM
  5. Invalid or unqualified reference error using the .Find in vba
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-08-2011, 07:10 PM

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