SOLVED

Controls collection

Copper Contributor

Hi!

When working in an Excel file, this annoying window appears to me all the time. How can I get rid of it? When you press ok, it disappears, but then it reappears. Please help!

Agita1105_0-1712904925149.png

 

 

2 Replies
best response confirmed by Agita1105 (Copper Contributor)
Solution

@Agita1105 

It sounds like you have a control named "Tabula1" in your Excel file, and when you open the file, Excel is trying to add another control with the same name, which is causing the error message to appear repeatedly.

To resolve this issue, you'll need to remove or rename the existing control named "Tabula1". Here's how you can do it:

  1. Open your Excel file.
  2. Go to the worksheet where the control is located.
  3. Right-click on the control named "Tabula1".
  4. Select "Properties" from the context menu.
  5. In the Properties window, change the name of the control to something unique that does not conflict with existing controls.
  6. Click "OK" to save the changes.

Once you have resolved the naming conflict, the error message should no longer appear when you open the Excel file.

 

If you are unable to find the control named "Tabula1" in your worksheet, it's possible that it's hidden or located in a different worksheet. In that case, you may need to search through your workbook to locate and remove or rename the control.

Here are a few steps you can check too:

  1. Check ActiveX Controls: Go to the Developer tab in Excel and click on "Design Mode" to enable it. Then, click on each ActiveX control on your worksheet to see if any of them are named "Tabula1" or if there are duplicates.
  2. Delete Duplicate Controls: If you find any duplicate controls or controls named "Tabula1," delete them by right-clicking on them and selecting "Delete" from the context menu.
  3. Check Worksheet Code: Sometimes, controls are added dynamically through VBA code. Check your worksheet's VBA code for any code that might be adding controls and ensure that it does not create duplicate controls with the name "Tabula1."
  4. Review Worksheet Names: Make sure there are no other worksheets in your workbook named "Tabula1." If there are, consider renaming them to avoid conflicts.
  5. Save and Reopen: After making any changes, save your workbook and close Excel. Then, reopen the workbook to see if the error persists.

The text and steps were edited with the help of AI.

 

My answers are voluntary and without guarantee!

 

Hope this will help you.

Was the answer useful? Mark as best response and Like it!

This will help all forum participants.

@NikolinoDE Thanks a lot. It helped.

1 best response

Accepted Solutions
best response confirmed by Agita1105 (Copper Contributor)
Solution

@Agita1105 

It sounds like you have a control named "Tabula1" in your Excel file, and when you open the file, Excel is trying to add another control with the same name, which is causing the error message to appear repeatedly.

To resolve this issue, you'll need to remove or rename the existing control named "Tabula1". Here's how you can do it:

  1. Open your Excel file.
  2. Go to the worksheet where the control is located.
  3. Right-click on the control named "Tabula1".
  4. Select "Properties" from the context menu.
  5. In the Properties window, change the name of the control to something unique that does not conflict with existing controls.
  6. Click "OK" to save the changes.

Once you have resolved the naming conflict, the error message should no longer appear when you open the Excel file.

 

If you are unable to find the control named "Tabula1" in your worksheet, it's possible that it's hidden or located in a different worksheet. In that case, you may need to search through your workbook to locate and remove or rename the control.

Here are a few steps you can check too:

  1. Check ActiveX Controls: Go to the Developer tab in Excel and click on "Design Mode" to enable it. Then, click on each ActiveX control on your worksheet to see if any of them are named "Tabula1" or if there are duplicates.
  2. Delete Duplicate Controls: If you find any duplicate controls or controls named "Tabula1," delete them by right-clicking on them and selecting "Delete" from the context menu.
  3. Check Worksheet Code: Sometimes, controls are added dynamically through VBA code. Check your worksheet's VBA code for any code that might be adding controls and ensure that it does not create duplicate controls with the name "Tabula1."
  4. Review Worksheet Names: Make sure there are no other worksheets in your workbook named "Tabula1." If there are, consider renaming them to avoid conflicts.
  5. Save and Reopen: After making any changes, save your workbook and close Excel. Then, reopen the workbook to see if the error persists.

The text and steps were edited with the help of AI.

 

My answers are voluntary and without guarantee!

 

Hope this will help you.

Was the answer useful? Mark as best response and Like it!

This will help all forum participants.

View solution in original post