logo
search
Others

How to Fix Visio Changing Connector Labels to P-#### After Copying

John WilsonJohn Wilson Sep 29, 2026 868 views

Question details

The user wants to prevent Microsoft Visio from automatically altering connector labels to auto-generated identifiers (like P-3100) when copying and pasting shapes.

How to Stop Visio from Changing Connector Labels to P-#### After Copying
Product
Microsoft Visio
Device & OS
not provided
Scenario
Copying and pasting connectors or shapes with linked connectors within a Visio diagram.
Observed behavior
When connectors are copied and pasted, Visio treats them as new shapes and assigns unique identifiers (e.g., P-3100) instead of preserving the original text labels.
Before you start

Verify that your current Visio diagram does not rely on these auto-generated labels for external data linking, as changing them might break existing database connections.

Solution 1Recommended

Use Duplicate or Group Shapes Before Copying

Since standard copying triggers Visio to create new identifiers, using the Duplicate function or grouping shapes can help preserve the structure of your diagram.

Visio currently lacks a built-in toggle to stop assigning new identifiers to pasted connectors. Bypassing the standard clipboard operations by duplicating or grouping is the most effective manual workaround.

1
Select Diagram Elements

Click and drag your mouse to highlight the shapes and connectors you want to replicate.

2
Duplicate the Shapes

Instead of pressing Ctrl+C and Ctrl+V, press Ctrl+D to Duplicate the selection directly onto the active page.

3
Group Before Copying

Alternatively, press Ctrl+G to group the selected shapes and connectors together. Copy and paste the grouped object, then press Ctrl+Shift+U to ungroup it in the new location.

Use Duplicate or Group Shapes Before Copying
Manual Renaming: If you still end up with P-#### labels after copying, you will need to manually double-click the connector and type the original label name.
Free Microsoft Office alternative

Boost Your Document Productivity with WPS Office

While Visio is a dedicated tool for complex diagramming, your everyday document, spreadsheet, and presentation tasks can be streamlined effortlessly with WPS Office. It is a lightweight, cost-effective alternative to Microsoft Office that includes built-in flowcharting tools for simpler diagrams.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 2. Install the Software: Run the downloaded file and follow the on-screen instructions to complete the setup.
  3. 3. Create Diagrams and Documents: Open WPS Office to instantly start viewing, editing, and creating your documents and basic flowcharts.
Completely free to use with a lightweight installation package.Seamlessly compatible with Microsoft Office formats (.docx, .xlsx, .pptx).Includes built-in drawing and basic flowchart tools in Writer and Presentation.Familiar tabbed interface ensures a zero learning curve for new users.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Visio assign labels like P-3100 to my connectors?

When you copy and paste elements in Visio, the software treats the newly pasted connectors as entirely new shapes. To prevent internal database conflicts, it assigns them unique, sequential shape identifiers, which visually appear as labels like P-3100.

Is there a setting in Visio to turn off automatic connector renaming?

No. In current versions like Visio Plan 2, there is no built-in setting or toggle that allows you to preserve the original connector text labels during a standard copy-and-paste operation.

Can I automate the renaming of pasted connectors in Visio?

Yes. If you frequently need to replicate diagrams and must retain the exact connector labels, you can write a VBA macro. A macro can be programmed to iterate through your selected shapes and automatically overwrite the auto-generated P-#### tags with your desired naming conventions.