Well oh well, I guess it’s been a while since I posted anything. I’ve been so busy lately, mostly working in large bat files or manipulating call manager databases.
Something that ticked me off was how you can’t put windows side by side because they are nested inside Excel. The following code makes all Excel files open in a new window!
*Note this is for .xls files, for .xlsx change the (Excel.Sheet.8 to Excel.Sheet.12), For .csv files, it’s Excel.CSV
[HKEY_CLASSES_ROOTExcel.Sheet.8shellOpen]
@=”&Open”[HKEY_CLASSES_ROOTExcel.Sheet.8shellOpencommand]
@=””C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.EXE” /e “%1″”
“command2″=hex(7):78,00,62,00,27,00,42,00,56,00,35,00,21,00,21,00,21,00,21,00,
21,00,21,00,21,00,21,00,21,00,4d,00,4b,00,4b,00,53,00,6b,00,45,00,58,00,43,
00,45,00,4c,00,46,00,69,00,6c,00,65,00,73,00,3e,00,56,00,69,00,6a,00,71,00,
42,00,6f,00,66,00,28,00,59,00,38,00,27,00,77,00,21,00,46,00,49,00,64,00,31,
00,67,00,4c,00,51,00,20,00,2f,00,64,00,64,00,65,00,00,00,00,00[HKEY_CLASSES_ROOTExcel.Sheet.8shellOpenddeexec2]
@=”[open(“%1″)]”[HKEY_CLASSES_ROOTExcel.Sheet.8shellOpenddeexec2application]
@=”Excel”[HKEY_CLASSES_ROOTExcel.Sheet.8shellOpenddeexec2topic]
@=”system”