I have connected oracle server database in excel with the help of oracle instant client software and i am getting table and data but whenever i am restarting excel to connect with oracle database it is asking username and password so i want to save the username and password so is this possible to provide username and password in tnsnames.ora file itself?
It isn't possible to save username and password in tnsnames.ora file. you should fix it in excel.