Click here to Skip to main content
15,914,371 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: input validation Pin
Ian11-Jun-01 4:16
Ian11-Jun-01 4:16 
GeneralRe: input validation Pin
Michael P Butler11-Jun-01 5:00
Michael P Butler11-Jun-01 5:00 
GeneralRe: input validation Pin
Ian11-Jun-01 5:36
Ian11-Jun-01 5:36 
GeneralRe: input validation Pin
Ian11-Jun-01 5:59
Ian11-Jun-01 5:59 
GeneralRe: input validation Pin
Michael P Butler11-Jun-01 8:48
Michael P Butler11-Jun-01 8:48 
GeneralRe: input validation Pin
Ian11-Jun-01 20:31
Ian11-Jun-01 20:31 
GeneralMicrosoft Outlook 2000 Pin
Mahesh Sundararaman10-Jun-01 23:49
Mahesh Sundararaman10-Jun-01 23:49 
Generalexcel vba Pin
Ian10-Jun-01 8:36
Ian10-Jun-01 8:36 
I am trying to put a combo box onto an excel spreadsheet. The idea is so this bit of the code picks up.Select Case ComboBox1.Value
Case 0 '
ActiveSheet.Cells(1, 1).Value = "refund"

Case 1 '
ActiveSheet.Cells(1, 1).Value = "redec"

Case 2 '
ActiveSheet.Cells(1, 1).Value = "incentive"

But I can't put the code for the combo box onto the workbook open part wqithout an error. If it remains on theindividual sheet on the ComboBox1_Click() sub it does't update. Also my combo box code:
ComboBox1.AddItem "Refund" 'ListIndex = 0
ComboBox1.AddItem "Redecoration Allowance" 'ListIndex = 1
ComboBox1.AddItem "Tenant Incentive" 'ListIndex = 2





'Use drop-down list
ComboBox1.Style = fmStyleDropDownList
for some reason makesmultipple entries on the drop down box instead if jyust the three. Can anyone help please?
GeneralRe: excel vba Pin
Giles10-Jun-01 8:51
Giles10-Jun-01 8:51 
GeneralRe: excel vba Pin
Ian10-Jun-01 20:13
Ian10-Jun-01 20:13 
GeneralRe: excel vba Pin
Giles12-Jun-01 9:10
Giles12-Jun-01 9:10 
GeneralRe: excel vba Pin
Ian14-Jun-01 4:31
Ian14-Jun-01 4:31 
GeneralRe: excel vba Pin
Giles14-Jun-01 8:54
Giles14-Jun-01 8:54 
GeneralTextBox Question Pin
6-Jun-01 22:15
suss6-Jun-01 22:15 
GeneralRe: TextBox Question Pin
15-Jun-01 12:13
suss15-Jun-01 12:13 
GeneralRe: TextBox Question Pin
15-Jun-01 12:15
suss15-Jun-01 12:15 
GeneralTrying to detect Cancel in ShowPrinter Pin
jamesdturner@hotmail.com6-Jun-01 17:01
jamesdturner@hotmail.com6-Jun-01 17:01 
GeneralRe: Trying to detect Cancel in ShowPrinter Pin
AndyG6-Jun-01 17:26
AndyG6-Jun-01 17:26 
GeneralWriting selected cells from Excel in csv Pin
6-Jun-01 4:16
suss6-Jun-01 4:16 
GeneralPassing in variables to a VB executable Pin
31-May-01 12:46
suss31-May-01 12:46 
GeneralRe: Passing in variables to a VB executable Pin
AndyG3-Jun-01 22:04
AndyG3-Jun-01 22:04 
Question"Unrecognized format"? Pin
Jason Teagle31-May-01 8:15
Jason Teagle31-May-01 8:15 
AnswerRe: Pin
AndyG3-Jun-01 22:16
AndyG3-Jun-01 22:16 
GeneralRe: Pin
Jarek G8-Jun-01 10:41
Jarek G8-Jun-01 10:41 
Generaldeploiying an access project Pin
30-May-01 9:53
suss30-May-01 9:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.