Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am trying to create a check register type spreadsheet, and wanting to use a
UDF,(or if you know another that will work too) to automaticly find the last balance in the balance colum and return it in the cell at the bottom of the page. Heres what im trying but it keeps locking up excel when i try to enter it. I dont know if its the loop or the lack of an argument in the function line. Function EOMBal() Dim a As Single Range("G45").Select a = 0 Do While a = 0 If a = 0 Then ActiveCell.Offset(-1, 0).Select End If a = ActiveCell.Value Loop EOMBal = a End Function Im new to using functions and subs, and new to programing in general so any advice would be appreaciated. Thanks |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
See other post
Biff "CSUS_CE_Student" wrote in message ... I am trying to create a check register type spreadsheet, and wanting to use a UDF,(or if you know another that will work too) to automaticly find the last balance in the balance colum and return it in the cell at the bottom of the page. Heres what im trying but it keeps locking up excel when i try to enter it. I dont know if its the loop or the lack of an argument in the function line. Function EOMBal() Dim a As Single Range("G45").Select a = 0 Do While a = 0 If a = 0 Then ActiveCell.Offset(-1, 0).Select End If a = ActiveCell.Value Loop EOMBal = a End Function Im new to using functions and subs, and new to programing in general so any advice would be appreaciated. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Newbie Question - Subtraction Formula Question | Excel Discussion (Misc queries) | |||
an if question | Excel Discussion (Misc queries) | |||
The question is an excel question that I need to figure out howto do in excel. | Excel Worksheet Functions | |||
using UDF question | Excel Discussion (Misc queries) | |||
Another Sum Question | Excel Discussion (Misc queries) |