ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Createobject (repost) (https://www.excelbanter.com/excel-programming/304063-re-createobject-repost.html)

keepITcool

Createobject (repost)
 
on error resume next
set myObj=CreateObject("classidentifier")
if myObj is nothing then
msgbox "Panic.. Alert..Call admin NOW"
end if

if the registry has no entry for "classidentifier", or classidentifier
identifies an object that cannot be created..
then above will give you a way out.

notes refers to lotus notes... if the clientsoftware for lotus notes is
not installed.. then alas... you need to (re-) install (or repair) notes.

http://www-306.ibm.com/software/lotus/


keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


?B?TmV3Ymll?= wrote:

I use the following line to connect to Notes:

Set objNotesSession = CreateObject("Notes.NotesSession")

which works on every computer except one, which can't create the
object. The problem is likely to be missing software as no logon works
on that computer.

Unfortunately, I don't know where to start looking for what software
should be available to run the code and would be grateful for any
assistance.




All times are GMT +1. The time now is 04:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com