hola amigos... necesito su ayuda porfavor... realmente no se si va aki pero lo encontre algo parecido =D
resulta ke estoy haciendo algo en macros de excel pero me salen algunos errores...
el error 1004 en tiempo de ejecucion error en el metodo "Range" de objeto "_Global"
bueno resulta ke necesito simplemente asignar un valor a esa casilla a travez de un "textbox" y ke cuando asigne otro valor para esa misma casilla no me produzca ese error...
aki el codigo:
Código:
Private Sub CommandButton1_Click()
Range("E2").Select
ActiveCell.FormulaR1C1 = TextBox1
Range("E3").Select
ActiveCell.FormulaR1C1 = TextBox2
Range("E4").Select
ActiveCell.FormulaR1C1 = TextBox3
ActiveSheet.Range("D10:D110").Select
Charts.Add
ActiveChart.ChartType = xlLine
ActiveChart.SetSourceData Source:=Sheets("Hoja1").Range("D10:D110"), PlotBy:=xlColumns
ActiveChart.SeriesCollection.NewSeries
End Sub
alguien puede ayudarme?... please
de antemano muchas gracias