Live datarange high lows nos of visits made

Can you help me with a visual basic code to find the number of visits to range low and range highs over last 1/2 hour