Added the UseRange variable in the TraceViewTarget function.