davejackson
Technical User
Hi,
I am exporting a table from access to excel and then running a macro over the data to create a chart (I'm doing it in excel as it's a bubble chart and i've no idea how to code the macro over and access table).
I would like to do one of two things,
Either, check if the chart worksheet already exists and if it does, delete it (I don't know how to test if the object exists as (Dir(Chart) <> "" doesn't seem to work,
Or ideally, create a new excel workbook and run the excel macro from access (which would mean I wouldn't have to store the macro in excel)
Any help would be brilliant as I'm having a horrible time of this already.
Thanks in advance,
David
I am exporting a table from access to excel and then running a macro over the data to create a chart (I'm doing it in excel as it's a bubble chart and i've no idea how to code the macro over and access table).
I would like to do one of two things,
Either, check if the chart worksheet already exists and if it does, delete it (I don't know how to test if the object exists as (Dir(Chart) <> "" doesn't seem to work,
Or ideally, create a new excel workbook and run the excel macro from access (which would mean I wouldn't have to store the macro in excel)
Any help would be brilliant as I'm having a horrible time of this already.
Thanks in advance,
David