Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have created a macro function to reference tha last cell used in a column
and returns the data in it to another cell in the sheet. It works fine for just one sheet within the same workbook. But if I use the function in another sheet, it returns the value from the previous sheet. Can anybody help me solve it so that I can get the value that correspond to each sheet. Below is the code I am using Function UltimaFecha(Fecha As Date, celda As String) As Date Application.Volatile Fecha = Cells(Cells.Rows.Count, celda).End(xlUp).Value UltimaFecha = Fecha End Function |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
want to share workbook but limit the sheets each user sees | Excel Worksheet Functions | |||
Shared Workbook with user code lookup to display sheets | Excel Programming | |||
Using a user-defined function from the Personal workbook | Excel Programming | |||
Macro for filter on protected workbook that works for all sheets, no matter what sheets are named? | Excel Programming | |||
Macro, Module, function, sub and This workbook and sheets ? | Excel Programming |