Hi Maheshwar,
Connect to SQL Server 2008 R2 from Excel locally, follow the steps:
Open Microsoft Excel, on the Data tab, click From Other Sources and select From SQL Server.
Type the Server name. If you connect a default instance, type computername. If you connect a named instance, type computername\instancename.
You could use Windows Authentication or use a SQL Server user. Click next.
You could choose a database and a table to export from database to Excel sheet. Click finish.
If you remotely connect to SQL Server 2008 R2 from Excel, you need to make sure that:
The server allows remote connections.
The firewall has configured properly.
SQL Server Browser service is running.
If it is still not work, please post the error messages in detail.
Thanks,
Maggie
Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread.