I'm trying to run a piece of VBA code form Excel. Does anyone know how to call a function into one of the cells?<br>
I've called the sub procedure 'hello' and also declared 'hello'. I then tryed in a cell by typing '=hello(e2)' e2 just has a value of 4 in it.<br>
<br>
This comes back with an error saying 'that name is not valid'<br>
<br>
Anyone any ideas?<br>
<br>
Thanks<br>
I've called the sub procedure 'hello' and also declared 'hello'. I then tryed in a cell by typing '=hello(e2)' e2 just has a value of 4 in it.<br>
<br>
This comes back with an error saying 'that name is not valid'<br>
<br>
Anyone any ideas?<br>
<br>
Thanks<br>