VBA code for the action of reading data and filling cells

patrickmaas

New Member
Joined
Jan 23, 2014
Messages
2
Dear all,

I've been making a large Excel file with lots of data and formulas. Its supposed to be a system for a specific department. I've made a sort of loading screen/splash screen when starting up where it says please wait while the program is loading. then at the same time the workbook starts calculating. The thing is the order of calculation on my workbook:
1. Calculate;
2. Reading Data;
3. Filling Cells;
4. Ready

These staps are showed in the status bar at the bottem of excel.
Now i've put this in the VBA Editer on the Thisworkbook sheet:
loading.Show
Application.CalculateFull
Completecalculation.Show

Application.CalculateFull only does the calculating part, it stops after that and leaves Reading Data and Filling Cells open for execution, so userform (completecalculation) which opens at last is not complete. It opens then closes and after it closes that userform it starts doing step 2 and 3. Its hard to explain but hopefully you will understand. I would like to add after application.CalculateFull another code to launch 2.Reading Data and 3. Filling Cells. After those steps are complete I would like to show the last userform which basicly says that everything is done and you can start to work with the excel file.

is there a specific name or something for the last to steps?

Thanks in advance,

Yours sincerely,
Patrick
 
Last edited:

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,223,248
Messages
6,171,011
Members
452,374
Latest member
keccles

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