If you have multiple clips in the track, first select the track and then choose Clips > Bounce To Clip(s) from the Track view menu (I'm assuming you're using X1, otherwise Bounce To Clip(s) is in the Edit menu.)
Then just drag and drop the MIDI clip to your Desktop or into a hard drive folder location in Windows Explorer.
SONAR automatically exports the clip to a MIDI file that way.
Scott
--
Scott R. Garrigus - Author of the Cakewalk Sonar and Sony Sound Forge Power book series. Get Sonar X1 Power - Today! Go to:
http://www.garrigus.com/ Publisher of DigiFreq - free music technology newsletter. Win a free SoundTech Vocal Trainer Package, go to:
http://www.digifreq.com/digifreq/ Publisher of NewTechReview - free consumer technology newsletter. Win a free i2i Stream Wireless Music Pack, go to:
http://www.newtechreview.com/newtechreview/