R
Rene
Hi all,
the following code works fine:
(vb6 code for an com addin)
-
Dim ActiveSheet As Object
Dim ActiveFolder As Object
Set ActiveFolder = App.Workbooks(fileName)
Set ActiveSheet = ActiveFolder.Sheets("test")
ActiveSheet.Range("A1").Resize(number1, number2).Value = DataArray
ActiveSheet.Range("F1").Resize(number1, number2).Value = DataArray
-
but not if the user switch between the sheets!!!
How can I make it possible that the user can switch...
any ideas???
the following code works fine:
(vb6 code for an com addin)
-
Dim ActiveSheet As Object
Dim ActiveFolder As Object
Set ActiveFolder = App.Workbooks(fileName)
Set ActiveSheet = ActiveFolder.Sheets("test")
ActiveSheet.Range("A1").Resize(number1, number2).Value = DataArray
ActiveSheet.Range("F1").Resize(number1, number2).Value = DataArray
-
but not if the user switch between the sheets!!!
How can I make it possible that the user can switch...
any ideas???