Unable to create a java object
I am trying to create the following java object:
Set objSimpleDateFormat = CreateObject("java.text.SimpleDateFormat","MMM dd")
but am getting the following error:
ActiveX component can't create object: 'java.text.SimpleDateFormat'
Can someone please help me with this.
Re: Unable to create a java object
You cannot create a Javaobject using this way. You need a actual java application object to do something like this.
Set objSimpleDateFormat = JavaWindow("...").object.createObject("java.text.S impleDateFormat","MMM dd")
For that you would need a Java add-in and a java application