Manual calculation with message box

Donbozone

New Member
Joined
Mar 28, 2020
Messages
37
Office Version
  1. 365
Platform
  1. Windows
Hi Everyone.

I would need a pieace of simple code which will be trigered by pressing Calculate Now button (manual calculation).

What I need after that is a message box with 2 conditions:

1. "Calculation successful" (if there is no cells with error on that sheet)

2. "Calculation unsuccessful" (if there is even one cell with error value - N/A, #Value etc.)

I believe this is possible since I already have message box after calculation is done, but I miss check on error values after that.

Thanks in advance
 

Donbozone

New Member
Joined
Mar 28, 2020
Messages
37
Office Version
  1. 365
Platform
  1. Windows
Wow, wow, wow, wow...this works beautiful :)

Many thanks for this, I really appreciate.
 

Some videos you may like

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

Watch MrExcel Video

Forum statistics

Threads
1,118,138
Messages
5,570,385
Members
412,321
Latest member
Yusuf_A
Top