Greg Truby
MrExcel MVP
- Joined
- Jun 19, 2002
- Messages
- 10,030
Suggest you edit that to make "Gods" lowercase -- "gods" lest brother Van.Geit hafta admonish you...
Who will bring us back to the thread ?
-e.v.g.
Who will bring us back to the thread ?
Option Explicit
Sub FixThread()
Dim Thrd As Thread
Dim Pst As Post
Set Thrd = CurrentBoard.Threads("http://www.mrexcel.com/board2/viewtopic.php?t=246668")
For Each Pst in Thrd.Posts
If Pst.Author = "Greg Truby" Then Pst.Delete
Next Pst
End Sub
Option Explicit
Sub FixThreads()
Dim Thrd As Thread, Dim RemTrube As Date
Dim Pst As Post
RemTrube = Now + TimeValue("00:15:00")
Set Thrd = CurrentBoard.Threads
For Each Pst in Thrd.Posts
If Pst.Author = "Greg Truby" Then Pst.Delete
Next Pst
Application.OnTime RemTrube, "FixThread"
End Sub