left function in vba powerpoint -


i trying take part of string in powerpoint using vba. trying use following code lines:

                    dim strie string                     strie = sh.name                     sbody = left(strie, 5) 

i don't know why giving me "run-time error '13': type mismatch" error. try using following line instead of last one:

                    sbody = left(strie, 5) 

but 1 gives me "compile error: type-declaration character not match declared data type" error before starting exec code.

how can use left , right functions? in excel work here cannot make them work.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -