+ Reply to Thread
Results 1 to 3 of 3

close open workbook

  1. #1
    Registered User
    Join Date
    09-18-2014
    Location
    Dillsburg PA
    MS-Off Ver
    2013
    Posts
    18

    Angry close open workbook

    I'm having some issues closing an open workbook. Basically in my code, several workbooks get opened and data gets copied in, then the workbooks that have data imported get closed..... anyway, to make a long story short.....

    Please Login or Register  to view this content.
    this works.... but when I have a user select a file to open, the line to close the workbook doesn't function

    Please Login or Register  to view this content.
    any ideas on what I'm doing wrong?

  2. #2
    Registered User
    Join Date
    09-18-2014
    Location
    Dillsburg PA
    MS-Off Ver
    2013
    Posts
    18

    Re: close open workbook

    ps. fNameAndPath1 is defined as a string....

  3. #3
    Registered User
    Join Date
    09-18-2014
    Location
    Dillsburg PA
    MS-Off Ver
    2013
    Posts
    18

    Re: close open workbook

    any help would greatly be appreciated....

+ 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. Copy from first workbook, close open new workbook paste close
    By johncarr1952 in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 08-04-2021, 08:50 AM
  2. Refresh all queries on workbook open, when finished print to pdf then close workbook
    By Bree Harvey in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-06-2014, 04:53 AM
  3. Replies: 2
    Last Post: 09-11-2012, 09:42 AM
  4. Code to open a workbook, do what i want, close it, and open the next
    By stuartsjg in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-30-2010, 05:43 PM
  5. Save an open workbook, then open template workbook and close the saved workbook
    By ondvirg in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-27-2009, 10:20 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