Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How do I create a function that is sent two variables. I want it be sen
a variable called i and another FinalRow. Then I want it to do it' thing. I want to be able to call this function at anytime in my macr by just typing FunctionName(i,FinalRow). Here what I want to b included in my function n = i For n = i To FinalRow If (Range("A" & n).Value) = "" And (Range("B" & n).Value) = 1 An (Range("C" & n).Value) = 1 And (Range("D" & n).Value) = "" Then Rows(n & ":" & n).Cut Rows(i & ":" & i).Insert Shift:=xlDown End If Next n Thank yo -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to create function to look up the value | Excel Discussion (Misc queries) | |||
How to create an IF function | Excel Worksheet Functions | |||
not sure how to create this function | Excel Worksheet Functions | |||
Trying to create a certain function | Excel Worksheet Functions | |||
Create new function | Excel Discussion (Misc queries) |