View Single Post
  #1  
Old 20-11-2016, 08:02
FaneDuru FaneDuru is offline
Member
 
Join Date: May 2012
Posts: 35
Question ExportBitmap with not rewrite file

Is it a way in case of ExportBitmap automation to receive a warning in case of a file with the same name already exists?

I mean for the next piece of code is it a way to stop export in case that a file with the same name already exists in the export folder...
Code:
Set Filter = d.ExportBitmap(strFile, cdrJPEG, cdrCurrentPage, _
    cdrRGBColorImage, 1000, 1000, 300, 300)
  With Filter
    .Compression = 80
    .Optimized = True
    .Smoothing = 10
    .SubFormat = 1
    .Progressive = False
    .Finish 'is there a way to stop this part for the same file name in export location folder...
  End With
Reply With Quote