Code Conversion ...
Hope this helps .... where will you be running this from?? Query, form, report, module ???? It may make a difference to the way you reference K1 .... let me know ..... but you can start with this .... ( put extra spacing to for better readability ! )
EXCEL CODING...