Reproducing a bug / error reported by user

imranbhatti

New Member
Joined
Dec 1, 2015
Messages
5
Hi,

Sometimes users report some bugs / errors with screenshots and even identify the line of code that the execution stops at. But the error is not reproduced on our machine.

What are the best techniques to reproduce an error?

What might be the differences between our machine and user's machine?

(Because you can't fix a problem if you can't reproduce it)
My question is specific to Excel VBA.

Best Regards
Imran Bhatti
 
Last edited:

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
(Because you can't fix a problem if you can't reproduce it)
That is not always true. Many times the error message will tell you exactly what the issue is. Sometimes, it is very obvious, based on the error message. If you do not understand what it is telling you, you can do a Google search on the error number and error message, and it often leads you in the right direction.

Here are some things which cause errors that you will want to check:
- What version of Excel are you using, and what version of Excel is the other user using?
- On the computer where it works, in the VB Editor, go to Tools -> References and check which libraries are selected. Do the same on the computer where it is failing. Are any libraries missing?
- If the macro is accessing specific files, do both computers have the same drive mappings and permissions?
 
Upvote 0

Forum statistics

Threads
1,223,750
Messages
6,174,291
Members
452,554
Latest member
Louis1225

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