LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Putting Focus into Textbox

I should have included the initialize code.

Private Sub UserForm_Initialize()
Dim ErrorCodes(1 To 7, 1 To 2) As String
Def.ColumnCount = 2

ErrorCodes(1, 1) = "1"
ErrorCodes(2, 1) = "2"
ErrorCodes(3, 1) = "3"
ErrorCodes(4, 1) = "4"
ErrorCodes(5, 1) = "5"
ErrorCodes(6, 1) = "6"
ErrorCodes(7, 1) = "7"

ErrorCodes(1, 2) = "Print Moving/Orientation"
ErrorCodes(2, 2) = "Damaged Rolls/Sheets/Splices"
ErrorCodes(3, 2) = "Bad Material Envelopes/Inserts"
ErrorCodes(4, 2) = "Setups"
ErrorCodes(5, 2) = "Press Malfunction"
ErrorCodes(6, 2) = "Missing pieces for validation"
ErrorCodes(7, 2) = "Unknown/Other"

If Me.RangeTF = False Then
Me.BarCode2.Visible = False
End If
If Range("Q2") < "" Then
Me.Mach = Range("Q2")
Me.Def = Range("Q3")
Me.OPID = Range("Q4")
Else
Me.Mach = "???"
Me.Def = 7
Me.OPID = "???"
End If
Def.List = ErrorCodes
End Sub
 
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
Putting Cell contents into a TextBox? PEno1 Excel Programming 2 December 3rd 04 03:31 AM
TextBox focus 4 Tim Coddington Excel Programming 6 August 4th 04 03:51 AM
putting validation to TextBox in the userform salihyil[_6_] Excel Programming 1 February 26th 04 12:10 PM
putting validation to TextBox in the userform salihyil[_8_] Excel Programming 1 February 26th 04 10:59 AM
Which textbox have focus? Tom Ogilvy Excel Programming 0 August 27th 03 03:12 PM


All times are GMT +1. The time now is 03:44 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"