Click here to Skip to main content
16,004,991 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: The feature you are trying to use is on a network resource that is unavailable ? Pin
ttilque5-May-08 6:01
ttilque5-May-08 6:01 
QuestionSending Email using VBA in Word Pin
Harold_Wishes5-May-08 3:49
Harold_Wishes5-May-08 3:49 
AnswerRe: Sending Email using VBA in Word Pin
Anoop Brijmohun5-May-08 4:31
Anoop Brijmohun5-May-08 4:31 
GeneralRe: Sending Email using VBA in Word Pin
Harold_Wishes5-May-08 6:53
Harold_Wishes5-May-08 6:53 
GeneralRe: Sending Email using VBA in Word Pin
Anoop Brijmohun5-May-08 7:19
Anoop Brijmohun5-May-08 7:19 
Questionhow to get the selected value of combo box in excel using vb Pin
Padma N5-May-08 3:01
Padma N5-May-08 3:01 
AnswerRe: how to get the selected value of combo box in excel using vb Pin
Dave Kreskowiak5-May-08 9:37
mveDave Kreskowiak5-May-08 9:37 
GeneralRe: how to get the selected value of combo box in excel using vb Pin
Padma N5-May-08 18:09
Padma N5-May-08 18:09 
I have called upon the coding to load combo in excel sheet from vb


Set xlRange = xlSheet.Range("D" & CStr(intCurrencyCol), "G" & CStr(intCurrencyCol))
xlRange.Cells.Merge
xlRange.Font.Bold = True

xlSheet.OLEObjects.Add "Forms.ComboBox.1", Left:=lngLeft, _
Top:=lngTop, Width:=lngWidth, Height:=lngHeight
xlSheet.OLEObjects("ComboBox1").object.Name = "CURRENCYCOMBO"
xlSheet.OLEObjects("CURRENCYCOMBO").object.Font.Name = "Arial"
xlSheet.OLEObjects("CURRENCYCOMBO").object.Font.Size = 8

xlSheet.OLEObjects("CURRENCYCOMBO").object.Style = 2





with some range of value in combo box as

X = 0
For Each CCName In CurrencyNames
X = X + 1
xlSheet.Cells(X, 16) = Trim(CStr(CCName))
Next

If X > 0 Then

Set xlRange = xlSheet.Range("P1", "P" & CStr(X))
xlSheet.OLEObjects("CURRENCYCOMBO").object.ListFillRange = xlRange.Address
End If




all work fine now when the user change the item in combo its should be list out in another cell
how to handle event in excel through vb Frown | :(
GeneralRe: how to get the selected value of combo box in excel using vb Pin
Dave Kreskowiak5-May-08 18:56
mveDave Kreskowiak5-May-08 18:56 
Questiondb commant not working Pin
asha_s5-May-08 1:47
asha_s5-May-08 1:47 
AnswerRe: db commant not working Pin
Dave Kreskowiak5-May-08 2:44
mveDave Kreskowiak5-May-08 2:44 
GeneralRe: db commant not working Pin
asha_s5-May-08 2:52
asha_s5-May-08 2:52 
QuestionCustomizing Setup Project in Visual Studio.NET 2005 Pin
Jats_4ru4-May-08 23:05
Jats_4ru4-May-08 23:05 
AnswerRe: Customizing Setup Project in Visual Studio.NET 2005 Pin
Dave Kreskowiak5-May-08 2:45
mveDave Kreskowiak5-May-08 2:45 
QuestionTreeView Pin
Socheat.Net4-May-08 22:34
Socheat.Net4-May-08 22:34 
AnswerRe: TreeView Pin
Christian Graus4-May-08 22:56
protectorChristian Graus4-May-08 22:56 
AnswerRe: TreeView Pin
Mycroft Holmes5-May-08 2:58
professionalMycroft Holmes5-May-08 2:58 
QuestionCreating a global network connection to MySQL Database Pin
drexler_kk4-May-08 22:32
drexler_kk4-May-08 22:32 
AnswerRe: Creating a global network connection to MySQL Database Pin
Xeqtr5-May-08 0:39
Xeqtr5-May-08 0:39 
QuestionRe: Creating a global network connection to MySQL Database Pin
drexler_kk5-May-08 16:44
drexler_kk5-May-08 16:44 
QuestionThe type initializer for 'Application.DatabaseInit' threw an exception. Pin
nishkarsh_k4-May-08 20:49
nishkarsh_k4-May-08 20:49 
AnswerRe: The type initializer for 'Application.DatabaseInit' threw an exception. Pin
Mycroft Holmes4-May-08 21:45
professionalMycroft Holmes4-May-08 21:45 
QuestionMissing Images while printing in vb.net Pin
VB 8.04-May-08 20:39
VB 8.04-May-08 20:39 
QuestionWhere clause Pin
Tauseef A4-May-08 17:31
Tauseef A4-May-08 17:31 
AnswerRe: Where clause Pin
Christian Graus4-May-08 17:34
protectorChristian Graus4-May-08 17:34 

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.