+ Reply to Thread
Results 1 to 7 of 7

Macros save as CVS but only a Specific sheet

  1. #1
    Registered User
    Join Date
    05-21-2013
    Location
    Birkirkara Malta
    MS-Off Ver
    Excel 2010
    Posts
    32

    Macros save as CVS but only a Specific sheet

    Dear All,

    I need your help pls.

    Using powerQ i'm populating sheet1 with fresh data which is then amended on sheet two. i created 2 macros.

    1. refresh all - and it works
    2. save-as only sheet 2 as CSV but keep the excel open - didnt work

    What i'm getting instead is all sheets saved as CSV and the Xlsm is closing

    Attached is the excel
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,224

    Re: Macros save as CVS but only a Specific sheet

    Get interested in the SaveCopyAs method.

    Artik

  3. #3
    Valued Forum Contributor
    Join Date
    06-27-2010
    Location
    sYRIA
    MS-Off Ver
    Excel 2013
    Posts
    669

    Re: Macros save as CVS but only a Specific sheet

    Hi
    Try
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    05-21-2013
    Location
    Birkirkara Malta
    MS-Off Ver
    Excel 2010
    Posts
    32

    Re: Macros save as CVS but only a Specific sheet

    will do thank you any good link

  5. #5
    Registered User
    Join Date
    05-21-2013
    Location
    Birkirkara Malta
    MS-Off Ver
    Excel 2010
    Posts
    32

    Re: Macros save as CVS but only a Specific sheet

    Quote Originally Posted by mohadin View Post
    Hi
    Try
    Please Login or Register  to view this content.

    It did work but since i'm not an export on Marcos with this correction i lost that additional info where the .csv is saved

    MsgBox "File " & Name & " has been Created and Saved under: " & FileName, , "Copy & Save Report"
    Application.DisplayAlerts = True

    Attachment 769820

  6. #6
    Valued Forum Contributor
    Join Date
    06-27-2010
    Location
    sYRIA
    MS-Off Ver
    Excel 2013
    Posts
    669

    Re: Macros save as CVS but only a Specific sheet

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    05-21-2013
    Location
    Birkirkara Malta
    MS-Off Ver
    Excel 2010
    Posts
    32

    Re: Macros save as CVS but only a Specific sheet

    thank you

+ 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. Replies: 5
    Last Post: 07-19-2020, 03:49 PM
  2. Replies: 6
    Last Post: 12-23-2018, 12:30 PM
  3. Need to locate specific sheet, export/save as PDF with a specific filename.
    By taylorsm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-02-2018, 09:24 AM
  4. Macros to prompt Save As dialog box with specific starting location
    By elisas in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-10-2017, 04:16 PM
  5. Where to save series of macros that work in specific workbook on another computer
    By Faintkitara in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-20-2015, 01:11 PM
  6. How to get a quote sheet to save to a specific place without taking the macros with it!
    By gramomster in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-06-2013, 07:15 PM
  7. Save one sheet, no macros
    By Paul Morgan in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-11-2007, 05:31 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