The procedure is to wipe the partition containing GRUB as it may interfere with Windows 7 if any of it's code remains with a simple formatting. Use free Partition Wizard bootable CD to Wipe Ubuntu partition with zeros then Modify>Set to Active the Windows 7 partition. You can also use PW to resize Windows 7 into the deleted space or repartition any way you like.
Windows 7 will not now start if GRUB was used to manage boot. So you need to boot your Windows 7 DVD Repair console or Repair CD, click through to Recovery Tools list to run Startup Repair up to 3 separate times with reboots to write the MBR to Windows 7, which will work if it is marked Active.
Startup Repair