O
Ove
When I'm using this code on a large table Word freezes and I have to
restart everything. The table is 90 pages long. When I'm using it on
smaller tables 20-30 pages, it's slow but works pretty good.
…
Set oTbl = ActiveDocument.Tables(1)
For iRow = oTbl.Rows.Count To 2 Step -1
With oTbl.Rows(iRow).Range
Set oRngDate = .Cells(2).Range
oRngDate.MoveEnd Unit:=wdCharacter, Count:=-1
If oRngDate.Text <> Format(Date, "dd.mm.yy") Then
.Font.Hidden = True
iCount = iCount + 1
End With
…
The idea is to print out a repost on records registrated today. Anyone
has any idea except changing to Access (we don't have it), or is Word
worthless on large tables?
Thanks
restart everything. The table is 90 pages long. When I'm using it on
smaller tables 20-30 pages, it's slow but works pretty good.
…
Set oTbl = ActiveDocument.Tables(1)
For iRow = oTbl.Rows.Count To 2 Step -1
With oTbl.Rows(iRow).Range
Set oRngDate = .Cells(2).Range
oRngDate.MoveEnd Unit:=wdCharacter, Count:=-1
If oRngDate.Text <> Format(Date, "dd.mm.yy") Then
.Font.Hidden = True
iCount = iCount + 1
End With
…
The idea is to print out a repost on records registrated today. Anyone
has any idea except changing to Access (we don't have it), or is Word
worthless on large tables?
Thanks