How to remove an existing connection in Excel file.

%3CLINGO-SUB%20id%3D%22lingo-sub-2584981%22%20slang%3D%22en-US%22%3EHow%20to%20remove%20an%20existing%20connection%20in%20Excel%20file.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2584981%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EWhen%20clicking%20on%20%3CSTRONG%3EData%20tab%26nbsp%3B%3C%2FSTRONG%3E%20in%20an%20Excel%20file%2C%20choosing%20%3CSTRONG%3EExisting%20Connections%3C%2FSTRONG%3E%2C%20a%20small%20box%20%3CSTRONG%3EExisting%3C%2FSTRONG%3E%20%3CSTRONG%3Econnections%20%3C%2FSTRONG%3Eis%20displayed.%20As%20usual%2C%20when%20I%20click%20on%20one%20of%20connections%20in%20the%20part%20%3CSTRONG%3EConnections%20in%20this%20workbook%3C%2FSTRONG%3E%26nbsp%3Bof%20%3CSTRONG%3EExisting%20Connections%3C%2FSTRONG%3E%20box%2C%26nbsp%3B%20%3CSTRONG%3EImport%20Data%3C%2FSTRONG%3E%20box%20is%20displayed%2C%20then%20I%20choose%20%3CSTRONG%3EProperties%3C%2FSTRONG%3E%2C%20%3CSTRONG%3EConnection%20Properties%3C%2FSTRONG%3E%20box%20will%20be%20displayed.%20However%2C%20when%20clicking%20on%20the%20%3CSTRONG%3ETest%3C%2FSTRONG%3E%20connection%20in%20the%20part%26nbsp%3B%3CSTRONG%3EConnections%20in%20this%20Workbook%3C%2FSTRONG%3E%20(like%20the%20picture%20below)%20%2C%20an%26nbsp%3B%3CSTRONG%3EImport%20Data%3C%2FSTRONG%3E%20box%20is%20displayed%2C%20then%20I%20click%20on%20%3CSTRONG%3EProperties%3C%2FSTRONG%3E%20in%20this%20box%2C%20this%26nbsp%3B%3CSTRONG%3EImport%20Data%26nbsp%3B%3C%2FSTRONG%3Ebox%20is%20still%20displayed%20again%2C%20not%20a%26nbsp%3B%3CSTRONG%3Econnection%20Properties%26nbsp%3B%3C%2FSTRONG%3Ebox.%3C%2FP%3E%3CP%3EI%20want%20to%20remove%20an%20existing%20connection%20in%20an%20excel%20file.%20How%20can%20I%20remove%20this%20Test%20connection%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Existing%20Connections.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F298255iB04A896073E8C683%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Existing%20Connections.jpg%22%20alt%3D%22Existing%20Connections%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EExisting%20Connections%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThank%20you%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2584981%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2585002%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20remove%20an%20existing%20connection%20in%20Excel%20file.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2585002%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1091311%22%20target%3D%22_blank%22%3E%40Rosy_888%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EData%20-%26gt%3B%20Queries%20and%20Connections%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20245px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F298261iD3ADFE1EFE612665%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EOn%20right%20pane%20select%20Connections%20and%20remove%20any%20by%20right%20click%20menu%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20339px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F298262iBC35A4E40225ED61%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello,

When clicking on Data tab  in an Excel file, choosing Existing Connections, a small box Existing connections is displayed. As usual, when I click on one of connections in the part Connections in this workbook of Existing Connections box,  Import Data box is displayed, then I choose Properties, Connection Properties box will be displayed. However, when clicking on the Test connection in the part Connections in this Workbook (like the picture below) , an Import Data box is displayed, then I click on Properties in this box, this Import Data box is still displayed again, not a connection Properties box.

I want to remove an existing connection in an excel file. How can I remove this Test connection? 

 

Existing ConnectionsExisting Connections

Thank you,

3 Replies

@Rosy_888 

Data -> Queries and Connections

image.png

On right pane select Connections and remove any by right click menu

image.png

Thanks very much, Sergei!

@tomdf , you are welcome