No problem - but no exporting involved - just dragging
first be sure the EHD you are going to use is formatted Mac OS extended (journaled) - and that you have a default "managed" library (the iPhoto preference to "copy imported items to the iPhoto library is in its checked state) - then
Moving the iPhoto library is safe and simple - quit iPhoto and drag the iPhoto library intact as a single entity to the external drive - depress the option key and launch iPhoto using the "select library" option to point to the new location on the external drive - fully test it and then trash the old library on the internal drive (test one more time prior to emptying the trash)
And be sure that the External drive is formatted Mac OS extended (journaled) (iPhoto does not work with drives with other formats) and that it is always available prior to launching iPhoto
And backup soon and often - having your iPhoto library on an external drive is not a backup and if you are using Time Machine you need to check and be sure that TM is backing up your external drive
To bring it back repeat dragging from the EHD to the pictures folder of the main drive and option launching to switch back
LN