#VALUE error

GRCArizona

Board Regular
Joined
Apr 24, 2010
Messages
95
Hi -

hopefully an easy solution to this:

I've got a 'Data Validation' cell and when the end user makes a selection from the drop down, the chart will auto-refresh. However, a few cells are not updating after the selection in the drop down is made. The cell values go right to the error "#VALUE". If I manually go into the cell's formula and hit enter, they work correctly. The formula in the cell(s) that aren't working are a custom function (VLOOKUPnth value).

I have tried the following VBA solutions, but they don't work:

#1 - have the macro go into the cell and re-type the formula.
#2 - Application.AutocalculateFull

Any suggestions?

Thanks GRC
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
In your macro, try one of these to force a recalculation.

Code:
Application.Calculate                   [color=green]'(or just Calculate) All open workbooks[/color]
Worksheets(1).Calculate                 [color=green]'A specific worksheet[/color]
Worksheets(1).Range("A1:C10").Calculate [color=green]'A specified range[/color]
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,996
Members
452,373
Latest member
TimReeks

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