Hi,
I am trying to create a sequential list of numbers in a query, i.e. if I put in 3,5,0.5 to a module in a query it would output 3,3.5,4,4.5,5 in 1 column of a query. I have written the following but I don't know how to export the data into a query:
Public Function poprange(rlow As Double, rhigh As Double, rst As Double) As Double
Dim a As Double
For a = rlow To rhigh Step rst
poprange = a
Next
End Function
Please help..
Thanks,
Kev
I am trying to create a sequential list of numbers in a query, i.e. if I put in 3,5,0.5 to a module in a query it would output 3,3.5,4,4.5,5 in 1 column of a query. I have written the following but I don't know how to export the data into a query:
Public Function poprange(rlow As Double, rhigh As Double, rst As Double) As Double
Dim a As Double
For a = rlow To rhigh Step rst
poprange = a
Next
End Function
Please help..
Thanks,
Kev