For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > August 2005 > Need to convert some VB to perl









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Need to convert some VB to perl
paul.porcelli@scottishwater.co.uk

2005-08-03, 10:00 pm

Hi there,
I need to convert the code below to perl.
I have had may attempts but am still not there.

Any advice/help will be much appreciated.
Thanks.
Paul

With
ActiveSheet.QueryTables.Add(Connection:="TEXT;H:\Projects\Performance
Improvement\acc_res.030805", Destination:=Range("A1"))
.Name = "acc_res.030805"
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.RefreshStyle = xlInsertDeleteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = True
.RefreshPeriod = 0
.TextFilePromptOnRefresh = False
.TextFilePlatform = 850
.TextFileStartRow = 1
.TextFileParseType = xlDelimited
.TextFileTextQualifier = xlTextQualifierDoubleQuote
.TextFileConsecutiveDelimiter = True
.TextFileTabDelimiter = True
.TextFileSemicolonDelimiter = False
.TextFileCommaDelimiter = False
.TextFileSpaceDelimiter = True
.TextFileColumnDataTypes = Array(1, 1, 1, 1, 1)
.TextFileTrailingMinusNumbers = True
.Refresh BackgroundQuery:=False
End With
Columns("A:A").ColumnWidth = 16.86

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com