dat

  1. Q

    Macro to save multiple worksheets as .dat files

    Hi All, Is there a macro to save multiple excel worksheets to .dat files, and name the files with the same name as the worksheet. Please help. Thank you very much in advance.
  2. B

    How to create birthday alert/warnings?

    With this code i take out the birthday date from a socialnumber (personnummer in sweden) Sub GetBirthdayDate() Application.Echo False On Error GoTo PROC_ERR Dim dat Dim year Dim mounth Dim day Dim age year = Left(Form_Profile_Form.txtProfilePersonnummer, 2) mounth =...
  3. P

    Dynamic Array to string

    Why does the debug.printout generate an error (run time 5: Invalid procedure call or argument)? If I print a single item in the array it works. If I use a static array the debug.print works. Also is there a solution to get the printout to show as date, it now prints f.e. 42837 instead of...
  4. G

    Open and copy all data from from dat file in a specified folder, but exclude if file name listed in worksheet

    Hello there I have a vba code which works perfectly... it opens and copys all data from any DAT file located in a specified folder (C:\Junk) to a worksheet called 'download' and also stores the name of any DAT file it has processed in a worksheet called 'Processed_Files' However I need the...
  5. W

    Save as...

    Sub Opendat() Dim MyFolder As String On Error GoTo Errorcatch Dim MyFile As String MyFolder = "C:\Documents and Settings\Xxxxx\Desktop\" 'put your folder here MyFile = Dir(MyFolder & "\*.dat") Do While MyFile <> "" Workbooks.Open Filename:=MyFolder & "\" & MyFile MyFile = Dir Loop...
  6. T

    VBA - excel to notepad

    Hello, I have created a macro that pastes a range of excel data (via a loop function) into a .dat file, which is later FTP'd to another team. The only issue that I'm running into is that they cannot accept the file with a space at the end, which is unfortunately automatically entered into the...

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