LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Userform Image

bob dot phillips at tiscali dot co dot uk

do the obvious

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Jennifer" wrote in message
...
Bob,
I tried to email you using the email address you have in your profile and
received a message back saying it can't be delivered. What address you

like
me to use? Thank you, Bob. Jennifer
--
Though daily learning, I LOVE EXCEL!
Jennifer


"Bob Phillips" wrote:

Jennifer,

I cannot re-create the problem. Can you mail me the workbook?

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Jennifer" wrote in message
...
Hey Bob,
I did go ahead and change Private Sub tb_EmpName_Change() to Private

Sub
tb_EmpName_Click()

Now when I hit tab or enter it doesn't fill the image box it just goes

to
the next text box. When I switch it back to <tb_EmpName_Change I get

the
problems I was having befo(
--
Though daily learning, I LOVE EXCEL!
Jennifer


"Jennifer" wrote:

HELP! First time trying this, I am try an example out of a book. I'm

stuck.
Do I need to have anything in the Userform Initilize?

Trying to type Employee name and their picture show up in the

userform.
Thank you. Jennifer

Private Sub tb_EmpName_Change()
Dim EmpFound As Range
With Range("EmpList")
Set EmpFound = .Find(tb_EmpName.Value)
If EmpFound Is Nothing Then
MsgBox ("Employee Not Found!")
tb_EmpName.Value = ""
Me.tb_EmpName.SetFocus
Exit Sub
Else
With Range(EmpFound.Address)
tb_EmpPosition = .Offset(0, 1)
tb_EmpHireDate = .Offset(0, 2)
On Error Resume Next
Img_Employee.Picture = LoadPicture( _
"C:\Excel VBA 2003\" & EmpFound & ".jpg")
On Error GoTo 0
End With
End If
End With
End Sub
--
Though daily learning, I LOVE EXCEL!
Jennifer






 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change image in UserForm Joseph[_58_] Excel Programming 1 February 20th 06 02:54 AM
moving an image in a userform Gixxer_J_97[_2_] Excel Programming 5 May 19th 05 12:08 AM
UserForm as a Jpeg Image John[_78_] Excel Programming 7 February 19th 04 11:46 AM
Bmp vs Gif in Userform image controls Sandy-V[_2_] Excel Programming 0 January 14th 04 01:46 PM
Userform Image help Pete[_13_] Excel Programming 1 November 10th 03 10:26 PM


All times are GMT +1. The time now is 10:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"