UserForm Help required....Please

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

snoozee

Thread Starter
Joined
Apr 10, 2006
Messages
272
I'm creating some userforms in excel and need some help please with 3 pieces.



1. Upload Evidence - when this is clicked I need the document/picture chosen to be put into a cell Reference (July H2) as an object
2. Send - when this is clicked I need the text from "Assign Task" to appear in the body of an email (the user will input the receiver etc)
3. Due Date - If there is nothing in the Assign Task textbox then I don't want this date added to the cell reference when "Next" is clicked.

Here's my code so far

Private Sub CommandButton3_Click()

Sheets("July").Range("B3") = TextBox1.Value
Sheets("July").Range("C3") = TextBox2.Value
Sheets("July").Range("D3") = DTPicker1.Value


UserForm2.Show
Unload UserForm1

End Sub

My unload form also appears to not work :-(
 

Keebellah

Hans
Trusted Advisor
Joined
Mar 27, 2008
Messages
6,639
What's wrong with the upload file?
What's the file's extension?
 

snoozee

Thread Starter
Joined
Apr 10, 2006
Messages
272
What's wrong with the upload file?
What's the file's extension?
I'm not sure how to code it so that it puts the object (file) into a cell reference in another worksheet. It's likely to be a jpg or PDF :)
 

Keebellah

Hans
Trusted Advisor
Joined
Mar 27, 2008
Messages
6,639
Okay, but can you attach the sample file with these userforms?
 

snoozee

Thread Starter
Joined
Apr 10, 2006
Messages
272
I'm still creating them, yet I'll PM you with them due to the data :)
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top