+ Reply to Thread
Results 1 to 3 of 3

Problem saving/closing workbook as an excel spreadsheet

  1. #1
    Registered User
    Join Date
    07-27-2013
    Location
    Roanoke
    MS-Off Ver
    Excel 2019
    Posts
    64

    Problem saving/closing workbook as an excel spreadsheet

    I'm tweaking a couple of VBScripts that I found online to open several .dat files in a folder, separate the data into columns using the text to column function, then I'm trying to save the file as an excel file. The problem, which you would think would be the easiest part, is saving the file. Any thoughts will be appreciated. Several code lines are disabled below (for example the save and close lines) as they currently don't work.

    Please Login or Register  to view this content.
    Last edited by ecorf; 02-18-2024 at 01:01 PM.

  2. #2
    Registered User
    Join Date
    10-16-2023
    Location
    Poland
    MS-Off Ver
    Excel 2019 32bit WIN10
    Posts
    98

    Re: Problem saving/closing workbook as an excel spreadsheet

    Try this:
    Please Login or Register  to view this content.
    Last edited by Tajan; 02-18-2024 at 12:30 PM.

  3. #3
    Registered User
    Join Date
    07-27-2013
    Location
    Roanoke
    MS-Off Ver
    Excel 2019
    Posts
    64

    Re: Problem saving/closing workbook as an excel spreadsheet

    Awesome Tajan! That works. Thank you! Here's the final script.

    Please Login or Register  to view this content.

+ 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] How do you reset an Excel Spreadsheet after Saving/Closing
    By bdhobbs1 in forum Excel General
    Replies: 2
    Last Post: 07-26-2022, 10:23 PM
  2. [SOLVED] Saving and Closing workbook leaves a blank excel shell open, why?
    By cubangt in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 07-01-2021, 09:33 AM
  3. Prevent Excel workbook closing saving if the mandatory cells not filled in
    By pearlite007 in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 02-07-2017, 05:12 PM
  4. Saving personal workbook before closing excel
    By Thor Almighty in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-14-2015, 06:27 AM
  5. Creating new workbook, saving as csv and then closing - but closing always fails.
    By ella626 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-28-2014, 10:05 PM
  6. closing a workbook without saving and closing a workbook with saving enabled
    By stanigator in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-24-2007, 02:15 PM
  7. Excel 2002 aborts randomly when closing/saving workbook
    By Barbara Ryan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-19-2006, 09:50 AM

Tags for this Thread

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