chris-uk-lad
Registered User.
- Local time
- Yesterday, 20:51
- Joined
- Jul 8, 2008
- Messages
- 271
Hi, starting to pull my hair out over this one now, i really have no idea whats wrong with it. Im trying to use a split function (even a stand alone one which should 100% work) yet still come up with an error.
One ive taken from this board to test im not doing wrong and is standalone:
Yet i get "Compile Error: Sub or Function not defined"
why????? It highlights SPLIT after the error pops but everything required (as far as im aware) is contained in those 2 lines to make it work.
One ive taken from this board to test im not doing wrong and is standalone:
Code:
Dim varSplit As Variant
varSplit = Split("C:\Pictures\1.jpg", "\")
Yet i get "Compile Error: Sub or Function not defined"
why????? It highlights SPLIT after the error pops but everything required (as far as im aware) is contained in those 2 lines to make it work.