+ Reply to Thread
Results 1 to 4 of 4

VBA SAVEAS Button Help Query

Hybrid View

  1. #1
    Registered User
    Join Date
    06-16-2024
    Location
    Dubai, UAE
    MS-Off Ver
    2019
    Posts
    31

    VBA SAVEAS Button Help Query

    HI All,

    I am seeking help, I have attached the workbook. The workbook contain 4 sheet, I want to save all the data present in all 4 sheet. I keep on adding data into my sheet on monthly basis. Sheet are numbered as 1,2,3 and 4. In sheet 4 I have placed the button, I will add my codes in Module and then Attach macro into the button.

    Sheet 1 has data from Column A to U
    Sheet 2 has data from Column A to U
    Sheet 3 has data from Column A to F
    Sheet 4 has data from Column A to J

    In all the sheet I have a tab "Type the Month in #Cell W2 to copy/Append the data."

    I only want data from the above mentioned column and till last row, in my SaveAs file.

    My file name is Report_MonthName , MonthName Keep on changing as the month in which SaveAs button will be clicked. For E.g. If I do a SaveAs in June the file name will be Report_June.csv

    Please help me with the codes.

  2. #2
    Registered User
    Join Date
    06-16-2024
    Location
    Dubai, UAE
    MS-Off Ver
    2019
    Posts
    31

    Re: VBA_SAVEAS_Button_Help_Query

    Just missed out to mention, that in Post#1, in the saveAs file I want all the four sheet in the same workbook itself and not a single sheet where all the data append.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,023

    Re: VBA_SAVEAS_Button_Help_Query

    Could you please NOT use underscores in your thread titles? It makes them harder to read. Thanks.

    Every time you immediately post again to your own thread, you remove it from the Unanswered Threads liust. If you wish to add something, and nobody has responded so far. edit and add it to the forst post.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,754

    Re: VBA_SAVEAS_Button_Help_Query

    No file attached. Read the yellow banner at the top of this page on how to attach a file.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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] A button that modifies the SQL query [Power Query]
    By 1shot2killz in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-10-2024, 07:44 AM
  2. Trying to get my command button to SAVEAS
    By oneblondebrow in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-19-2017, 04:27 PM
  3. SaveAS vbYesNo command button
    By iguss in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-16-2008, 04:54 PM
  4. QUERY: Excel's SaveAs so slow..
    By KevinGPO in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-15-2006, 11:45 AM
  5. QUERY: Excel's SaveAs so slow..
    By KevinGPO in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-15-2006, 11:45 AM
  6. [SOLVED] SaveAS macro Query
    By Nigel in forum Excel General
    Replies: 1
    Last Post: 05-13-2005, 01:06 PM
  7. [SOLVED] How check for No/Cancel Button when SaveAs and file already exists?
    By Joe HM in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-19-2005, 06:06 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