filequery

  1. H

    What is wrong with this syntax?

    Hey guys. Why dosnt this syntax import data from the file I choose? Sub Makro1() Dim filename As String filename = Application.GetOpenFilename("Text Files (*.tsp),*.tsp", , "Please selec text file...") With ActiveSheet.QueryTables.Add(Connection:= _ "TEXT;filename", _...

Some videos you may like

This Week's Hot Topics

Top