Thanks for the advice. I had looked there, and I had thought I was coding correctly. I just reviewed it again and I think I'm doing it right. This is the latest attempt
Public Sub mupdate()
Dim gen As String
Dim wr As Double
Dim fr As String
Dim low As Double
Dim high As Double
gen = sx '(sx...