+ Reply to Thread
Results 1 to 4 of 4

If The Sheet it A Newly Opened File does not exist

  1. #1
    Registered User
    Join Date
    07-11-2012
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2003
    Posts
    91

    If The Sheet it A Newly Opened File does not exist

    hi. Im trying to build a macro code, though i already figured out the if and else statement if the workbook does/does not exist i need help in inserting a code that if the sheet in that opened workbook does not exist it will just close the file and proceed to the next data.

  2. #2
    Registered User
    Join Date
    07-11-2012
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2003
    Posts
    91

    Re: If The Sheet it A Newly Opened File does not exist

    I think it's because my code already contains an if function for opening the workbook that i fails in the if function if the worksheet exists

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    07-11-2012
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2003
    Posts
    91

    Re: If The Sheet it A Newly Opened File does not exist

    Up this thread

  4. #4
    Registered User
    Join Date
    07-11-2012
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2003
    Posts
    91

    Re: If The Sheet it A Newly Opened File does not exist

    Up this thread

+ 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] Code for making new file in same folder as opened file exist.
    By Hydyne in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-22-2015, 05:41 AM
  2. [SOLVED] Put name of every newly opened file into variable?
    By davepoth in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-20-2014, 08:18 AM
  3. Replies: 6
    Last Post: 03-07-2012, 04:56 PM
  4. Find newly opened file and copy 1 column
    By JP Romano in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-21-2011, 10:37 AM
  5. [SOLVED] [SOLVED] Close file and run macro from newly opened file
    By Pradip Jain in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-23-2005, 07:06 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