ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   VBA code for Chart with x and y axis (https://www.excelbanter.com/excel-programming/415043-vba-code-chart-x-y-axis.html)

Xaraam

VBA code for Chart with x and y axis
 
hey!!

i would like to do a chart in excel with the chance to put a range of values
correspoding to the y axis and another range to the x assis.
the chart has to be a line type.
do u have any idea of the code for that on VBA?

i really appreciate your help!!

Barb Reinhardt

VBA code for Chart with x and y axis
 
Try recording a macro to do what you want. If you have questions on how to
clean it up, come back.
--
HTH,
Barb Reinhardt



"Xaraam" wrote:

hey!!

i would like to do a chart in excel with the chance to put a range of values
correspoding to the y axis and another range to the x assis.
the chart has to be a line type.
do u have any idea of the code for that on VBA?

i really appreciate your help!!


Xaraam

VBA code for Chart with x and y axis
 
hey Barb,

the thing is i have to do that not just for one excel sheet but for more
than 100, where the y and x axis values are not of the some amount on each
sheet. It can varies from 5000 up to 15000 lines.
So probably the best would be VBA code doing a range and then a way to
insert those values into the y and x axis.

"Barb Reinhardt" wrote:

Try recording a macro to do what you want. If you have questions on how to
clean it up, come back.
--
HTH,
Barb Reinhardt



"Xaraam" wrote:

hey!!

i would like to do a chart in excel with the chance to put a range of values
correspoding to the y axis and another range to the x assis.
the chart has to be a line type.
do u have any idea of the code for that on VBA?

i really appreciate your help!!



All times are GMT +1. The time now is 12:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com