Microsoft
Software
Hardware
Network
Question : Find full path of EXCEL.EXE
Dear Experts,
a) Some time ago I got help from another forum to find the path of MSACCESS.EXE.
b) I thought I could replace MSACCESS.EXE with EXCEL.EXE.
and got the following error:
"Invalid Root in registry key"
c) i googled this error and found this link that discusses my error.
http://www.mail-archive.co
m/arslist@
arslist.or
g/
msg30335
.html
i went to run/regedit, and see EXEL.EXE, but do not know what to do next or how to modify
the code...
pls advise, thx,
sandra
code:
======
Public Sub GetExcelExeLocation()Dim strBackExcelExeLocation As StringDim WSHShellSet
WSHShell = CreateObject("WScript.Shel
l")
'Get msaccess path from regkey
strBackExcelExeLocation = WSHShell.RegRead _
("HKEY_LOCAL_MACHINE\SOFTW
ARE\Micros
oft\Window
s\CurrentV
ersion\" _
& "App Paths\EXEL.EXE\Path")
End Sub
Answer : Find full path of EXCEL.EXE
Was that a typo (EXEL.EXE)? How about:
strBackExcelExeLocation = WSHShell.RegRead _
("HKEY_LOCAL_MACHINE\SOFTW
ARE\Micros
oft\Window
s\CurrentV
ersion\" _
& "App Paths\EXCEL.EXE\Path")
Random Solutions
Windows XP SP2 locks up frequently and event log erros are Sidebyside Event ID 32 and 59
Office 2003 - Font size is too small when opening emails with Outlook 2003
AIX cpu alarm monitor script.
Nested IF THEN statements and formulas? How can I make a long formula or is there a better way.
Relink Backend Programmatically
Use function as filter for SQL view
Error: you have not chosen to trust "Equifax secure global ebusines ca-1", the issuer of the server's security certificate
Any idea on how to extract swf from excel and power point presentation (please explain in layman terms)
bash script email handling
Setting up Visual Web Developer Express & IIS 7 on Vista.