Jamie McMillan
Board Regular
- Joined
- Nov 8, 2021
- Messages
- 169
- Office Version
- 2016
- Platform
- Windows
Hello,
I have a simple vlookup formula, =IF(C13=0,"",VLOOKUP(C13,$A$13:$B$27,2))
It works properly when I press F9 (Excel is on manual calculation)
I use two very simple macros to calculate the sheet: then it does not work.
The first macro 'EveryOne' is attached to a shape (Labelled 'Any' in the attached image - the result is also on the image.)
(It sometimes works; but then, maybe 1 it 10 tries it fails.)????
Crazy!!!
Thanks for anything. (I have closed it and reopened the file, and restarted Excel.)
Jamie
I have a simple vlookup formula, =IF(C13=0,"",VLOOKUP(C13,$A$13:$B$27,2))
It works properly when I press F9 (Excel is on manual calculation)
I use two very simple macros to calculate the sheet: then it does not work.
The first macro 'EveryOne' is attached to a shape (Labelled 'Any' in the attached image - the result is also on the image.)
(It sometimes works; but then, maybe 1 it 10 tries it fails.)????
VBA Code:
Sub EveryOne()
Range("A3").Value = 3
Call HowLong
End Sub
Sub HowLong()
Range("B1").Value = 0
Calculate
End Sub
Crazy!!!
Thanks for anything. (I have closed it and reopened the file, and restarted Excel.)
Jamie