Deuce Bucksman
Board Regular
- Joined
- Jan 17, 2011
- Messages
- 102
Hello, gurus.
Quick question: I'm trying to get a better understanding of how function procedures work in VBA and I hit a little snafu. I'm trying to come up with a formula that will take its arguement and convert it to a negative (if it's already a negative then convert to positive). I just can't figure out why it's not working. Can anyone shed any light on this?
Function Multiple()
For Each cell In Selection
cell = cell * -1
End Function
Quick question: I'm trying to get a better understanding of how function procedures work in VBA and I hit a little snafu. I'm trying to come up with a formula that will take its arguement and convert it to a negative (if it's already a negative then convert to positive). I just can't figure out why it's not working. Can anyone shed any light on this?
Function Multiple()
For Each cell In Selection
cell = cell * -1
End Function