Hello,
I am trying to create a VBA userform that calculates a future date based on a given initial date, initial flowrate, final pressure, and average pressure loss per day. Right now, my user form is set up to copy and paste daily pressure data into a textbox, and the VBA code calculates the average pressure loss per day. My issue is that my code doesn't seem to recognize the list of pressures I paste into the textbox. I am pretty new to VBA so I am not savvy enough to diagnose the error through debugging, however I did identify where it is located. I attached my code, user form with dummy values, and pertinent textbox properties box below. Any thoughts would be appreciated!
I am trying to create a VBA userform that calculates a future date based on a given initial date, initial flowrate, final pressure, and average pressure loss per day. Right now, my user form is set up to copy and paste daily pressure data into a textbox, and the VBA code calculates the average pressure loss per day. My issue is that my code doesn't seem to recognize the list of pressures I paste into the textbox. I am pretty new to VBA so I am not savvy enough to diagnose the error through debugging, however I did identify where it is located. I attached my code, user form with dummy values, and pertinent textbox properties box below. Any thoughts would be appreciated!