SEP2007 wrote:
Try
Me.Richtextbox.Loadfile("thefile")
Catch ex as Exception
Msgbox ex.message
End Try

was reformmated as

'----------------------------------------------------------'
Try
       Me.Richtextbox.Loadfile("thefile")

                                     Catch Ex as Exception
                                     '*****************'
           
                                       Msgbox ex.message

                                     '*****************'

End Try
'----------------------------------------------------------'


Its a little over the top here but I'm just trying to get across a basic principle. That you could have more than just tabs as formatting.
And you could specify your own formating rules. And perhaps have different formatting rule (auto-formatting) for say, Events, Subs, Functions, For, While, etc.

Does that make sense ?


You can do all that with IDE Macros.