+ Reply to Thread
Results 1 to 2 of 2

Edit VBA code to let it automaticlly create Folder

  1. #1
    Registered User
    Join Date
    09-29-2023
    Location
    Dareen
    MS-Off Ver
    16
    Posts
    6

    Post Edit VBA code to let it automaticlly create Folder

    Good day all



    I have the below code wich is working totally perfect.



    which is take the worksheet and save it as pdf and xls format and before that the code ask me to specify the destination folder

    then the code attach both file on new outlook mail

    I need the code do do all the same but automaticlly create and select the distenation folder "C:\Users\qaroosya\Documents\2023" and create a folder for each month

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,414

    Re: Edit VBA code to let it automaticlly create Folder

    Administrative Note:

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not told us about this. You are required to do so. Cross-posts are allowed but you must provide a link to your posts on other sites.

    Please see Forum Rule #7 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important: https://excelguru.ca/a-message-to-forum-cross-posters/

    (Note: this requirement is not optional. No help to be offered until you provide a link or, for members with fewer than 10 posts, a comment telling us where else you have posted this query.)

    You need to provide links to ALL cross posts.
    Last edited by AliGW; 11-22-2023 at 09:28 AM.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. edit code for rename files one time and pickup from folder
    By mazan2010 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-06-2020, 06:16 PM
  2. Create Folder & Check if Folder Exists if Not Create Folder & then Save File
    By Quivolt in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-28-2017, 05:31 AM
  3. How to edit this code so that it will create groups instead of deleting?
    By ediman16 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-23-2015, 07:38 AM
  4. [SOLVED] VBA Code to create folder on desktop
    By Liz_Biz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-04-2014, 11:19 AM
  5. [SOLVED] What is wrong with this code? (Loop through WBs in folder - open, edit, save & close)
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-04-2013, 07:49 PM
  6. Code to create New Folder (if doesn't exist) and then Save Workbook to folder
    By jenhawley in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-10-2013, 03:09 PM
  7. Adjusting the follow code to create a folder instead of a zip folder
    By ALexcell47 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-27-2012, 02:12 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