VBA code not contained in intended workbook

pam53154

Board Regular
Joined
Mar 3, 2009
Messages
107
We receive a monthly workbook from a service provider which has VBA code that prevents their users from inserting or deleting rows and columns. However, once we open the file it prevents us from inserting or deleting files in our separate workbooks. What type of code would cause these limitations to reach beyond the workbook with the code?
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Very poorly written code. It may have something in it that is intended to operate on ThisWorkbook but instead uses ActiveWorkbook. However, it's very hard to diagnose without seeing the code. Is their VBA project password-protected?

You can always open the file without allowing macros to be run, although it may have traps in it that make you unable to work with the file if you do that.

If it were me I would complain to the service provider.
 
Upvote 0
Their VBA is password protected and they declined to provide the code when asked. They deny it is their code at all, although our issues are clearly traceable to having their file open in the background. They are allowing me to "look over the shoulder" of their VBA programmer while onsite next week. I know a bit about VBA but I am gathering some pointers so I can more quickly focus in on what could be the cause. We have complained profusely, but from what I can tell, their VBA developers lack the expertise to diagnose the issue.
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,212
Members
452,618
Latest member
Tam84

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top