Question : Difference between coding in module, sheet, or workbook window

What is the difference between placing code in a module window versus a worksheet or "ThisWorkbook"?

Answer : Difference between coding in module, sheet, or workbook window

General module code is not associated with any objects. UDFs and generic code should be placed there. Code specific to a worksheet or the workbook should be placed in the respective worksheet code module or workbook code module.

Kevin
Random Solutions  
 
programming4us programming4us