View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
NooK[_18_] NooK[_18_] is offline
external usenet poster
 
Posts: 1
Default Problems creating a chart with VBA

Hi, I have been having a problem creating graphs on VBA.

I am trying to create a XYScatter graph using some data from columns
and H in a sheet (G being X data and H being Y data).

Now If I create manually on Excel and record the macro everything work
fine but when trying to run the macro (Cleaned or uncleaned) it give
me a completelly different graph.

I could not solve the problem and I found out that I change the Exce
default chart type to xlXYScatter than everything works fine otherwis
I get a weird graph, so I was wondering if anyone knows what could b
wrong?

Worst case I can just change the default chart type to xlXYScatter bu
it would be nice to set back to what it was in the end, but I can'
find out any way to get the current default chart type so I can set i
back in the end, is there any way to do so?

Best Regards

Noo

--
Message posted from http://www.ExcelForum.com