weird excel / vba issue

daveyc18

Active Member
Joined
Feb 11, 2013
Messages
490
Office Version
  1. 365
  2. 2010
intermittently with my xlsb workbooks, I receive a "Automation error, Invalid forward reference, or reference to compiled type"

I notice it occurs when the code is selecting/activating a tab (worksheet)...if I manually go to that worksheet, then run the rest of the code, it works.

The only way I found to fix this issue is if I use an older archived file (e.g., a file dated 2 days ago) and override the main template. oddly, this kind of thing seems to happen with different files I run on the network drive.

perhaps my excel is just messed up (2016).
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

daveyc18

Active Member
Joined
Feb 11, 2013
Messages
490
Office Version
  1. 365
  2. 2010
ok, this seemed to work

enabling "AccessibilitycplAdmin 1.0 type admin"under tools- references in the VBA editor...so odd
 

Forum statistics

Threads
1,141,619
Messages
5,707,435
Members
421,508
Latest member
someinternetuser

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
Top