F
freightliner2006
Hi all,
I have a function defined as follows:
CEILING(3*(SUM(MID(A1159,1,1),MID(A1159,3,1),MID(A1159,5,1)))
and I want to create my own one, so that once I apply to a (current)
cell,
it performs on the cell immediately on the left, (instead A1159...)
For now, I create a function in VBA editor:
Function MyCeiling(cellontheleftaddress?)
' dont know what to put as parameter
myCeiling = Ceiling(3 * (Sum(Mid(cellontheleft, 1, 1),
Mid(cellontheleft,
3, 1), Mid(cellontheleft, 5, 1)))0, 1)))
End Function
thanks for help
I have a function defined as follows:
CEILING(3*(SUM(MID(A1159,1,1),MID(A1159,3,1),MID(A1159,5,1)))
and I want to create my own one, so that once I apply to a (current)
cell,
it performs on the cell immediately on the left, (instead A1159...)
For now, I create a function in VBA editor:
Function MyCeiling(cellontheleftaddress?)
' dont know what to put as parameter
myCeiling = Ceiling(3 * (Sum(Mid(cellontheleft, 1, 1),
Mid(cellontheleft,
3, 1), Mid(cellontheleft, 5, 1)))0, 1)))
End Function
thanks for help