I was wondering I have 3 input boxes and with one of them I need the information put into this equation. What type of VBA CODE do I use to put this information in the equation is w=1/tp

Where w is input frequency
Tp is process time constant
I know that I say dim w as single
Dim tp as single
But am lost now please help

To input the information from the input boxes into the equation using VBA code, you can follow these steps:

1. Start by defining the variables `w` and `tp` as `Single` data type, as you mentioned:
```vba
Dim w As Single
Dim tp As Single
```

2. Next, you need to assign the values from the input boxes to these variables. Assuming you have three input boxes named `inputBox1`, `inputBox2`, and `inputBox3`, you can use the following code:
```vba
w = CSng(inputBox1.Value) ' Convert the value to Single data type
tp = CSng(inputBox2.Value) ' Convert the value to Single data type
```

3. Finally, you can calculate the value of `w` using the equation `w = 1 / tp`:
```vba
w = 1 / tp
```

Here's the complete VBA code:

```vba
Dim w As Single
Dim tp As Single

w = CSng(inputBox1.Value) ' Convert the value to Single data type
tp = CSng(inputBox2.Value) ' Convert the value to Single data type

w = 1 / tp
```

Make sure to replace `inputBox1` and `inputBox2` with the actual names of your input boxes. After executing this code, the variable `w` will contain the calculated value based on the equation `w = 1 / tp`.