+ Reply to Thread
Results 1 to 4 of 4

issue with autofit macro on saving to a csv format

  1. #1
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    issue with autofit macro on saving to a csv format

    Running macro on a work to copy final csv sheet to a new sheet and saves as ms dos csv files.

    But I have an issue with the auto fit code I added in bold , it works on the workbook but in saving the file to the desktop,the requested columns are not autofit as it should be .

    Can someone look in what is going wrong?

    Please Login or Register  to view this content.

  2. #2
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: issue with autofit macro on saving to a csv format

    Hi Jean- As far as I know, .csv files only store text, not formatting info, so column widths would be lost.
    Last edited by leelnich; 12-16-2017 at 10:41 AM.
    Clicking the Add Reputation star below helpful posts is a great way to show your appreciation.
    Please mark your threads as SOLVED upon conclusion (Thread Tools above Post # 1). - Lee

  3. #3
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    Re: issue with autofit macro on saving to a csv format

    Hi leelnich

    Thanks for info, it was a personal touch I would like to add to code.

    If so , then I will let it as it is.

  4. #4
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: issue with autofit macro on saving to a csv format

    Thank you for the rep, sorry I couldn't be more helpful. I had the same problem with one of my projects that outputs .csv files.
    Last edited by leelnich; 12-16-2017 at 11:18 AM.

+ 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. Row Autofit Issue
    By Tejas.T in forum Excel General
    Replies: 2
    Last Post: 12-12-2017, 10:41 AM
  2. [SOLVED] Macro /saving issue
    By 1967chris in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-02-2015, 02:16 AM
  3. Date format issue when saving in .csv
    By CDNcameron in forum Excel General
    Replies: 1
    Last Post: 09-17-2013, 02:13 PM
  4. Excel 2007 : format issue when saving the csv file
    By mls_newbee in forum Excel General
    Replies: 0
    Last Post: 09-22-2010, 12:20 PM
  5. Issue saving in .csv format in Excel 2007
    By Snark in forum Excel General
    Replies: 1
    Last Post: 08-07-2008, 04:33 PM
  6. Format for Saving a Workbook [maybe Syntax issue]
    By AdamParker in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-22-2008, 07:59 PM
  7. Autofit issue
    By tayto in forum Excel General
    Replies: 0
    Last Post: 11-06-2007, 01:45 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