Hi All,
I am new to Macros and I need some help.

I am trying to connect to Oracle DB Using the below command
Set OraDatabase = OraSession.OpenDatabase("NOVA.DUMMY.HEALTH.ORG", "xe100/xe100", 0&)
"NOVA.DUMMY.HEALTH.ORG" is the DB name,

"xe100/xe100" are UserName/Password.

Now, I need to parametrize the above two inputs. i.e DB Name and UserName/Password can change. User will enter these values in two different cells and I need to pick up the value from those cells and put it in here.

Like
Set OraDatabase = OraSession.OpenDatabase("Sheets("Sheet1").Cells(2,3).Value", "Sheets("Sheet1").Cells(2,4).Value", 0&)
Please Note: The above code will not work I just tried show what I meant