yyyymmdd

  1. U

    vba formula in yyymmdd

    hi! how can i set this formula (today+91) as a general, in yyyymmdd format? So that I can then copy and paste it over to AF:? 'Maturity formula Range("AM" & lastrowadj & ":AM" & lastrowfinal).Formula = "=today()+91" Range("AM" & lastrowadj & ":AM" & lastrowfinal).Copy Range("AF" &...
  2. R

    VBA help opening text file with 2 dates

    I am trying to write a code to import a text file on a daily basis that will have the previous and current yyyymmdd the title of the file. Here is the code when I recorded the macro: With ActiveSheet.QueryTables.Add(Connection:= _...
  3. M

    Saving file name with the last business day in YYYYMMDD format

    Hi, Struggling to save an excel file with the following file name: "20181018 ALEX - Data.xlsx". I have the below code but the application.workday function doesnt seem to be working. Any ideas how to get around this? File name should be yesterday's business date and then ALEX - Data...
  4. B

    Date column in xls/xlt worksheet - maintain format

    Date column in an xls/xlt spreadsheet must have format YYYYMMDD. When this date formatting is set, manual entry of dates in other formats automatically change to YYYYMMDD which is what is required. If dates in another format are pasted into the column then the YYYMMDD formatting is overridden...
  5. B

    Archive file if filename does not exist

    Each week I load CSV data into my Workbook from a USB stick. I have recently chosen to archive the CSV file with the date that the data is accessed. The source file, no matter what the date, is always the same name. I can successfully archive the CSV using this statement: ActiveWorkbook.SaveAs...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top