Hi Dave,
Are you trying to add the deadline using VBA or just add the deadline?
To add the deadline manually, click on the task to show the Task
Information dialog box. Click the Advanced tab and enter the deadline
date in the deadline field.
I hope this helps. Let us know how you get along.
Julie
Project MVP
Visit
http://project.mvps.org/ for the FAQs and additional information
about Microsoft Project