Thanks for your help I put TwainSetAutomaticDeskew(True) before acquiring an image and it does not work. Set oTWAIN = CreateObject("gdtwain.twain") oTWAIN.SetLicenseNumber("0012345678910111213141516") 'Demo code version oTWAIN.TwainOpenDefaultSource oTWAIN.TwainSetAutomaticDeskew...