+ Reply to Thread
Results 1 to 2 of 2

Workbooks.open is creating a file if it does not exist

  1. #1
    Forum Contributor
    Join Date
    09-25-2012
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2010
    Posts
    151

    Workbooks.open is creating a file if it does not exist

    I have the following code, where "StrFileName" is a string variable that contains a path and file name. If the file does not exist, this step is actually creating a file and I can't figure out why.

    Please Login or Register  to view this content.
    pls click the star if you liked my answer!

  2. #2
    Forum Contributor
    Join Date
    09-25-2012
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2010
    Posts
    151

    Re: Workbooks.open is creating a file if it does not exist

    Ah I figured this out. I had a function that had

    Please Login or Register  to view this content.
    This is the step that created the flie

+ 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. Creating a new folder if it does not exist then save a file to it
    By caveyma in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-27-2014, 07:40 AM
  2. open existing file if exist, else create it.
    By simeonmein in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-03-2014, 11:17 AM
  3. open excel file only if certain file(s) exist
    By evenings in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-15-2010, 12:14 AM
  4. Replies: 3
    Last Post: 03-11-2006, 02:50 PM
  5. Replies: 0
    Last Post: 03-10-2006, 05:55 AM

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