do until loop output

  1. A

    Do Until with multiple condidtions

    Hello I am writing some code that ask a user to input two variabls via an InputBox. In order for the down stream code to work there are 3 conditions that have to be met. 1) startValue > 0 2) endValue < 100 3) startValue < endValue I am trying to use a Do Until function, but I cannot seem to...
  2. A

    do until loop and output

    I will put any number in cell B2. This number is called 'd2' and will be referenced in the code. i want to write code that will do the following: let p1 = .01 then do p1 = p1 + d2 until p1 = 1 - d2 + .01 and put these numbers in column C. any ideas?? thanks!!

Watch MrExcel Video

This Week's Hot Topics

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top