I have a macro to log into my e-mail automatically which works perfectly if it is in its own workbook.
Once I transfer it to my personal workbook it generates an error each time I try to run it. "Compile error: User-defined type not defined" and highlights "HTMLDoc As HTMLDocument" in blue and...