Error setting a resource's initials property

  • Thread starter Steve the large
  • Start date
S

Steve the large

I wish to add a resource and resource initials that are entered via a custom
form.

The form contains two textboxes (txtFullName & txtInitials). I want to add
a resource and set it's initials.

I get an error 13 (type mismatch) thrown on the line where I set the
initials = sMsg below, sMsg is a string:

=code========
ActiveProject.Resources.Add (Me.txtFullName)
sMsg = Me.txtInitials
ActiveProject.Resources(Me.txtFullName).Initials = sMsg
============
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top