enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Macro to open CSV file ";" delimited | MrExcel Message Board

    www.mrexcel.com/board/threads/macro-to-open-csv-file-delimited.967561

    I am looking to tweak below VBA code to be able to open X number of CSV file (; delimited) and to have the CSV file in the excel workbook as text (All columns). The current issue is that all the information per sheet are whitin one col thanks in advance Sub test() Dim myDir As String, fn As String, wb As Workbook Set wb = ActiveWorkbook

  3. VBA ADO to Read a CSV file | MrExcel Message Board

    www.mrexcel.com/board/threads/vba-ado-to-read-a-csv-file.1023694

    1) Can I read an external CSV table using this code? If so, how to setup a CSV file, InputData.csv, not an xls 2) Assuming I can read it, what would be the definition of sSQLSting? I do not understand how to setup the SQL instruction to read just one matching field. Something like: "SELECT * FROM InputData.csv WHERE Customer_ID = ('" & sCID

  4. Tkinter Application to Read & Update a CSV File

    codereview.stackexchange.com/questions/177862

    A Tkinter application that is simply a login form. You can choose to count the number of times you've logged in as a specific user. CSV File Example. Shaked, 123456, 0. Ellen, pass123, 0. Code. '''. A Python Exercise: Reading CSV File & Tkinter Implementation.

  5. adding data to a CSV file for it to be read

    codereview.stackexchange.com/questions/293229/adding-data-to-a-csv-file-for-it...

    5. I agree with several suggestions from @toolic. For shortening: Make r"C:\Users\Student\Documents\mywebsites\python projects\students.csv" a variable so you don't have to type it twice. Remove import os because it is not used. Remove extra indentation and inline variables such as file. students = [] file_path = r"C:\Users\Student\Documents ...

  6. GetOpenFileName CSV Files | MrExcel Message Board

    www.mrexcel.com/board/threads/getopenfilename-csv-files.569196

    I use the code below to allow the user to select files, but the file type defaults to All Files. I require the filter to show CSV files only by default. How can I do this? Thanks. SelectedFiles = Application.GetOpenFilename( _. FileFilter:="CSV Files (.csv), *.csv", MultiSelect:=True)

  7. Import csv data source to pre-formatted excel template sheet

    www.mrexcel.com/board/threads/import-csv-data-source-to-pre-formatted-excel...

    Also template columns A, B and C are from csv columns B, C and F. If so, put this macro into the Template workbook: Code: Sub ImportCsv() Dim TemplateWb As Workbook. Set TemplateWb = ActiveWorkbook. Dim DataWb As Workbook. Set DataWb = Workbooks.Open("C:\Data.csv") 'If csv file always has same name/path, use this line and edit filename.

  8. Opening CSV's as Text | MrExcel Message Board

    www.mrexcel.com/board/threads/opening-csvs-as-text.23961

    Messages. 73,092. Oct 10, 2002. #2. You can do it in VBA using the OpenText method. Copy the file and rename it as .txt. Switch on the macro recorder and open the file, making your selections in the Text Import Wizard. Turn off the recorder and look at the code. You will be able to use that code even if the file is a CSV file.

  9. VBA to import CSV and put it into a Table - MrExcel

    www.mrexcel.com/board/threads/vba-to-import-csv-and-put-it-into-a-table.1121211

    Sub Macro1() Dim FileToOpen As String Dim OpenBook As Workbook Application.ScreenUpdating = False 'this section allows the user to pick a file name and identify it as FileToOpen FileToOpen = Application.GetOpenFilename(Title:="Browse for your File & Import Range", FileFilter:="CSV Files (*.csv*),*csv*") If FileToOpen <> "" Then Range("A1").Select 'this section imports the file identified as ...

  10. Can an Excel Macro Open and Edit a .CSV file?

    www.mrexcel.com/board/threads/can-an-excel-macro-open-and-edit-a-csv-file.283634

    Oct 6, 2007. #4. Macro to Change Delimiter when Saving a CSV File. This macro takes a unique approach to creating the output file. What it does is to insert a column at the left of your worksheet, and then concatenates all the data to the right of that column into the newly inserted column A. It adds a semicolon between each field.

  11. VBA code to open CSV file and extract the data in a Excel sheet

    www.mrexcel.com/board/threads/vba-code-to-open-csv-file-and-extract-the-data...

    creat a sheet and name it "Import" you can hide it if you want to. VBA Code: Sub Get_data_from_CSV_File() Dim rs As Worksheet. Dim fName As String. Application.Calculation = xlCalculationManual. Application.ScreenUpdating = False. Application.EnableEvents = False.