+ Reply to Thread
Results 1 to 5 of 5

Save file date in uppercase

  1. #1
    Forum Contributor
    Join Date
    06-17-2013
    Location
    australia
    MS-Off Ver
    Excel 2007
    Posts
    247

    Save file date in uppercase

    Hi Everyone,

    simple code to save file with tomorrows date however is there a way to save it with the letters in uppercase? e.g 08AUG13 instead of 08Aug13 i tried changing the format to ddMMMyy but had no effect

    Please Login or Register  to view this content.

  2. #2
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Save file date in uppercase

    Please Login or Register  to view this content.
    I dimed your variable (good practice) and changed the name of your sub from a used term (another good practice). Give it a try.

    e/ If you are trying to save the file in the same file path as the current file then you need to remove the "" from filepath
    Thanks,
    Solus


    Please remember the following:

    1. Use [code] code tags [/code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    Highlight the code in your post and press the # button in the toolbar.
    2. Show appreciation to those who have helped you by clicking below their posts.
    3. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

    "Slow is smooth, smooth is fast."

  3. #3
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,527

    Re: Save file date in uppercase

    You don't even need a variable, i.e.

    Please Login or Register  to view this content.
    HTH

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  4. #4
    Forum Contributor
    Join Date
    06-17-2013
    Location
    australia
    MS-Off Ver
    Excel 2007
    Posts
    247

    Re: Save file date in uppercase

    Trebor76 - Genius!

    greatly appreciated

  5. #5
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,527

    Re: Save file date in uppercase

    Thanks for the feedback and for marking the thread as closed (as well as adding to my reputation )

+ 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] Save invoice to folder by month and then save file by date and invoice
    By Val777 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-03-2013, 02:57 AM
  2. Save file with date
    By waqarqrl in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 11-05-2012, 03:42 PM
  3. Save Text from TextBox in Uppercase
    By Jonathan78 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-02-2012, 03:57 AM
  4. Save File as Date
    By stevensdale in forum Excel General
    Replies: 3
    Last Post: 12-17-2009, 07:53 PM
  5. [SOLVED] Macro to save Excel file with date and time in the file name?
    By sonic_d_hog in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-05-2006, 02:00 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