The following Dodgers have been smited by the JDK for their crimes against Jam:
All the girls! for picking on the JDK and damaging his already delicate self esteem!
The Basserd Who Nicked Copper's Stuff For the offense of nicking Copper's stuff. You are a tw*t, whoever you are and we all hope you get run over by a tram in Nottingham. Or Liverpool. Or whereever else they have trams!
Copper For the crime of playing with her Wii instead of her Jammie pals!
The only thing I find useful about them is to publish information that should never have anything done with it other than read. Working for the city, we use them to publish legal crap. Thats about it. They are always the FINAL destination for data.
quote: Originally posted by: BrianS "The only thing I find useful about them is to publish information that should never have anything done with it other than read. Working for the city, we use them to publish legal crap. Thats about it. They are always the FINAL destination for data."
This I can understand. But the U.S. government gets too caried away with PDFs, isn't it the law that certain public documents have to be published in PDF formats?
What's up with the IRS providing tax forms in PDF format?
What, am I supposed get out my pen and paper and go to work on this thing? Give me something useful, like an Excel file!
Right, my quandary is completely effed up. I'm being given 6 huge PDF files (like 400 pages) on a monthly basis chock-a-bloc full of numbers that I'm supposed to analyze. Say what? I'm not rekeying that crap!
So here's what I do. Save the sucker as an rtf format. This almost works, the problem is that null fields don't coerce properly, they're ignored and now I have jumbled fields amongst my 10,000 records. I can try to hack around this, but it'd be nicer if the software actually worked as advertised!!
So, pretend this works, which it doesn't, then I can open the file in Word, open Excel and run something like the following:
Sub PullWordTables2() Dim wrdObj As Object, tbl As Object Dim ws As Worksheet, i As Long On Error GoTo errTime Set wrdObj = GetObject(, "Word.Application") Application.ScreenUpdating = False For Each tbl In wrdObj.activedocument.tables i = i + 1 tbl.Range.Copy Set ws = ThisWorkbook.Worksheets.Add With ws .Move , Sheets(ThisWorkbook.Worksheets.Count) .Name = "Table " & i .Range("a1").PasteSpecial xlValues Application.CutCopyMode = False .Cells.Replace What:="/", Replacement:=vbNullString End With Next errTime: Application.ScreenUpdating = True Set ws = Nothing Set wrdObj = Nothing If CBool(Err.Number) Then _ MsgBox Err.Description End Sub
And bingo, I got 193 new worksheets with all of the tables in about 8 seconds... But I still have to overcome the effed up rtf coversion!!
I don't know about you, but I've been typing for so many years that now when someone hands me a pen and paper I get all palsy and can barely form letters