Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

[Solved] Convert Excel VBProject to Autoit.

$
0
0
Can anyone help me convert this to autoit natively?

With ActiveSheet.QueryTables.Add(Connection:= _
	 "TEXT;" & CStr(TxtName), Destination:=Range("$A$1"))
	 .Name = "Data"
	 .FieldNames = True
	 .RowNumbers = False
	 .FillAdjacentFormulas = False
	 .PreserveFormatting = True
	 .RefreshOnFileOpen = False
	 .RefreshStyle = xlInsertDeleteCells
	 .SavePassword = False
	 .SaveData = True
	 .AdjustColumnWidth = True
	 .RefreshPeriod = 0
	 .TextFilePromptOnRefresh = False
	 .TextFilePlatform = 437
	 .TextFileStartRow = 1
	 .TextFileParseType = xlFixedWidth
	 .TextFileTextQualifier = xlTextQualifierDoubleQuote
	 .TextFileConsecutiveDelimiter = False
	 .TextFileTabDelimiter = True
	 .TextFileSemicolonDelimiter = False
	 .TextFileCommaDelimiter = False
	 .TextFileSpaceDelimiter = False
	 .TextFileColumnDataTypes = Array(1, 1, 1, 1, 1, 1, 1)
	 .TextFileFixedColumnWidths = Array(14, 16, 17, 18, 16, 14)
	 .TextFileTrailingMinusNumbers = True
	 .Refresh BackgroundQuery:=False
End With


I tried to search all forum and closest unanswer is this thread. (http://www.autoitscript.com/forum/topic/140340-create-excel-and-run-macro/)
Little help please from all Excel Expert.

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>