I am writing a very simple function to calculate pressure drop along a rough pipe, the code is below
From my understand of the way I've written the function, I should be able to execute it by simply writing =pdrop() into any cell in my worksheet.. this is not the case however. If I do this I simply get a #VALUE error, and I know the input data I'm using works because I've tested it independently elsewhere. Any ideas as to what could be the problem?![]()
Please Login or Register to view this content.
NB: This is the first function I've had to write so if I've done anything stupid don't hesistate to let me know as I need to pick VBA up quite quickly.![]()
Bookmarks