Hi I'am trying to export map in a geo image (with world file) by vba arcobject. My script only works if I use "TiffExporter" CoClass but if I use "ExportJPEG" or "JPEGExporter" it doesn't work and I have error on line 23 of the script (in attach). does anyone know what could be the problem? many thanks! Roberto
Which version of ArcGIS are you using? For ArcGIS 9 and above, you should be using IExport instead of IExporter, along with ExportTIFF and ExportJPEG instead of TiffExporter and JPEGExporter.