Two very verbose descriptions...I hope it hasn't confused the issue for you :)
To summarise:
When a Sub Procedure is used it can pass and return variables.
i.e.
Sub PlotGraph1()
Sub PlotGraph3() as Boolean
Sub PlotGraph3(x as Integer) as Boolean
A Function on the other hand will ALWAYS return a variable
i.e.
Function PlotGraph4() as Boolean
Function PlotGraph5(x as Integer) as Boolean
Which one do you use if both act in roughly the same fashion?
Well classically a Function would be use for Math, String Manipulation, Status Checking, and so on. Keep them small and make them perform one task only (fully encapsulated).
A Sub Procedure on the other hand makes up the core or blood vessels of the program, bringing it life. So like blood vessels it should be networked to allow smooth and efficient flow with as few branches as possible.
Both are called 'Methods' and this describes doing some physical execution or calculation.
Think of it as orders or calling down into the program
Another example of a method is an 'Event'. This allows the same variables to be passed as a Sub Procedure. When you study this, think of it as listening or echoes coming back out from the program.
Hmm... I've just realised my description is also verbose, so I'll stop now.