Here is my problem
I have a user form contains a ListBox that been populated from column A. It's ok fixed that.
I have 3 commandbuttons (TEMP, HUMIDITY,RAIN) and one PictureBox.
I'm trying to create a graph that contains x axis= Jan, Feb, Mar, Apr, May, Jun and y-axis the values from cells under TEMP etc
The graph will be displayed in PictureBox when i press one of the 3 commandButtons and will be depending from the selection of ListBox(ALASKA etc)
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD]TEMP[/TD]
[TD]HUMIDITY[/TD]
[TD]RAIN[/TD]
[/TR]
[TR]
[TD]ALASKA[/TD]
[TD]JAN[/TD]
[TD]-5[/TD]
[TD]95[/TD]
[TD]154[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]FEB[/TD]
[TD]-7[/TD]
[TD]92[/TD]
[TD]124[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]MAR[/TD]
[TD]1[/TD]
[TD]88[/TD]
[TD]88[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]APR[/TD]
[TD]5[/TD]
[TD]74[/TD]
[TD]54[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]MAY[/TD]
[TD]9[/TD]
[TD]65[/TD]
[TD]22[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]JUN[/TD]
[TD]18[/TD]
[TD]48[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ALABAMA[/TD]
[TD]JAN[/TD]
[TD]3[/TD]
[TD]45[/TD]
[TD]25[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]FEB[/TD]
[TD]7[/TD]
[TD]58[/TD]
[TD]38[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]MAR[/TD]
[TD]14[/TD]
[TD]55[/TD]
[TD]24[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]APR[/TD]
[TD]19[/TD]
[TD]43[/TD]
[TD]58[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]M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R]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I have a user form contains a ListBox that been populated from column A. It's ok fixed that.
I have 3 commandbuttons (TEMP, HUMIDITY,RAIN) and one PictureBox.
I'm trying to create a graph that contains x axis= Jan, Feb, Mar, Apr, May, Jun and y-axis the values from cells under TEMP etc
The graph will be displayed in PictureBox when i press one of the 3 commandButtons and will be depending from the selection of ListBox(ALASKA etc)
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD]TEMP[/TD]
[TD]HUMIDITY[/TD]
[TD]RAIN[/TD]
[/TR]
[TR]
[TD]ALASKA[/TD]
[TD]JAN[/TD]
[TD]-5[/TD]
[TD]95[/TD]
[TD]154[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]FEB[/TD]
[TD]-7[/TD]
[TD]92[/TD]
[TD]124[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]MAR[/TD]
[TD]1[/TD]
[TD]88[/TD]
[TD]88[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]APR[/TD]
[TD]5[/TD]
[TD]74[/TD]
[TD]54[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]MAY[/TD]
[TD]9[/TD]
[TD]65[/TD]
[TD]22[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]JUN[/TD]
[TD]18[/TD]
[TD]48[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ALABAMA[/TD]
[TD]JAN[/TD]
[TD]3[/TD]
[TD]45[/TD]
[TD]25[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]FEB[/TD]
[TD]7[/TD]
[TD]58[/TD]
[TD]38[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]MAR[/TD]
[T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