Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi there,
I'm using Excel 2003 and I created a Function Function MyRange() As Integer MyRange = Worksheets("Sheet1").Range("A1") - Worksheets("Sheet1").Range("A2") MsgBox ("The Range is: ") & MyRange End Function Now A1 = 30 and A2 = 20 so 30-20=10 Then I want to compy 10 rows base on this results How do I call MyRange function with my new Sub Thanks, Ed Dror Andrew Lauren |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Help summing a range base on a date | Excel Worksheet Functions | |||
Change color of font base on time range | Excel Discussion (Misc queries) | |||
Counting cells base on a predetermined range | Excel Worksheet Functions | |||
select a range base on Column A | Excel Programming | |||
macro to set printer range base on the word subtotal | Excel Programming |