C
Charlie
All of a sudden, my VBA code isn't working and I've tracked it down to the
right() and Left() functions. It's like VBA doesn't recognize these as
functions.
Here's a simple example that gives me an error:
Sub temp()
Dim stline As String
Debug.Print Right(stline, 1)
End Sub
It says 'Project or Library not found' and it highlights the word 'RIGHT'.
I've restarted my pc, but it didn't help. I'm using word 2003, windows xp.
This code used to run, and on this very same pc!
Please help,
thanks,
ck
right() and Left() functions. It's like VBA doesn't recognize these as
functions.
Here's a simple example that gives me an error:
Sub temp()
Dim stline As String
Debug.Print Right(stline, 1)
End Sub
It says 'Project or Library not found' and it highlights the word 'RIGHT'.
I've restarted my pc, but it didn't help. I'm using word 2003, windows xp.
This code used to run, and on this very same pc!
Please help,
thanks,
ck