ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How i can replace function (https://www.excelbanter.com/excel-worksheet-functions/8339-how-i-can-replace-function.html)

Luka

How i can replace function
 
I need "Do While" Function in Excel,but is not in. How I can replace it?

Peo Sjoblom

The most likely reason you haven't received an answer is probably because
nobody understand what you mean? Could you post some more information of what
it is you want to do

Regards,

Peo Sjoblom

"Luka" wrote:

I need "Do While" Function in Excel,but is not in. How I can replace it?


Bob Phillips

Do you mean in a worksheet function? I don't think so, you need a UDF.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Luka" wrote in message
...
I need "Do While" Function in Excel,but is not in. How I can replace it?




Gord Dibben

Luka

Couple of examples...

Sub ActivateNextBlankDown()
ActiveCell.Offset(1, 0).Select
Do While Not IsEmpty(ActiveCell)
ActiveCell.Offset(1, 0).Select
Loop
End Sub


Sub Interval_Entry()
i = 1
todo = InputBox("Enter a number")
Do While todo * i < 910
Cells(todo * i, 1) = 88
i = i + 1
Loop
End Sub


Gord Dibben Excel MVP

On Mon, 27 Dec 2004 11:59:01 -0800, "Luka"
wrote:

I need "Do While" Function in Excel,but is not in. How I can replace it?




All times are GMT +1. The time now is 09:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com