+ Reply to Thread
Results 1 to 4 of 4

Creating a folder for the new year without having to input the folder name.

  1. #1
    Forum Contributor
    Join Date
    03-28-2012
    Location
    Pennsylvania, USA
    MS-Off Ver
    Excel 2010
    Posts
    166

    Question Creating a folder for the new year without having to input the folder name.

    Hi there all VBA folks,

    I have a VBA program that creates a new folder once a year. Instead of having to change the folder name in the macro every year I input it as such that is highlighted in red. It throws a syntex error. Any thoughts on how I could do it any different so it doesn't throw an error.

    Please Login or Register  to view this content.
    If you would need more code let me know.

    Thanks VBA gurus!

    LeapingLizard

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Creating a folder for the new year without having to input the folder name.

    Hello LeapingLizard,

    Your statement looks like you duplicated part of it when you pasted.

    Try this...
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Contributor
    Join Date
    03-28-2012
    Location
    Pennsylvania, USA
    MS-Off Ver
    Excel 2010
    Posts
    166

    Re: Creating a folder for the new year without having to input the folder name.

    Hi Leith,

    Great catch! Thank You!
    Last edited by LeapingLizard; 05-01-2014 at 08:05 PM. Reason: Solved

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Creating a folder for the new year without having to input the folder name.

    Hello Hello LeapingLizard,,

    You're welcome. Sometimes it only takes a fresh look to see the problem.

+ 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. Creating CULUM results - Folder / Sub Folder from excel macro
    By mash1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-13-2012, 10:19 AM
  2. [SOLVED] creating a folder with an user input filepath and user input folder name
    By subbby in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-04-2012, 10:04 AM
  3. Select folder from an Input box and insert .PDF files from that folder
    By davesexcel in forum Outlook Programming / VBA / Macros
    Replies: 6
    Last Post: 12-12-2009, 02:47 PM
  4. Replies: 6
    Last Post: 08-11-2006, 03:41 PM
  5. Creating Folder Folder in My Documents VBA - HELP
    By Ali in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-25-2005, 10:05 AM

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