Hi there again EXCEL Guru's,
I have seen this code just last night and I am somewhat impressed at how a spreadsheet can be used to show worksheet data's on the userform. I am however wondering if it is possible to show and update mulitples worksheets in workbook using the spreadsheet in userform.
I am using this code but is somehow just showing me 1 worksheet. How should this be coded that when I select other worksheet thru the combobox that it will activate the selected worksheet and show it in the userform's spreadsheet.
this is my code for combobox
Thanks again for your help guys.
I have seen this code just last night and I am somewhat impressed at how a spreadsheet can be used to show worksheet data's on the userform. I am however wondering if it is possible to show and update mulitples worksheets in workbook using the spreadsheet in userform.
I am using this code but is somehow just showing me 1 worksheet. How should this be coded that when I select other worksheet thru the combobox that it will activate the selected worksheet and show it in the userform's spreadsheet.
Code:
Private Sub Spreadsheet1_SheetChange(ByVal Sh As OWC10.Worksheet, ByVal Target As OWC10.Range)
ThisWorkbook.Worksheets("BPME").Range(Target.Address).Value = Target.Value
End Sub
this is my code for combobox
Code:
Private Sub Oft_Change()
Select Case Oft
Case "BPME"
Worksheets("BPME").Select
'Worksheets("CONSOLIDATED").Select
Me.Spreadsheet1.Cells.Range("A1:AJ10").Value = ThisWorkbook.Worksheets("BPME").Range("A1:AJ10").Value
Case "EXXON MOBIL"
Worksheets("EXXONMOBIL").Select
Me.Spreadsheet1.Cells.Range("A1:AJ10").Value = ThisWorkbook.Worksheets("EXXONMOBIL").Range("A1:AJ10").Value
'Me.Spreadsheet1.Refresh
Case "EMARAT"
Worksheets("EMARAT").Select
End Select
End Sub
Thanks again for your help guys.