Excel VBA general issue, don't know why and how to solve

mr2bart

Board Regular
Joined
Dec 18, 2014
Messages
57
Hi All,

I have a general issue with Excel files with VBA that I have developped.

After a variable usage time of my files, I have no more access to some menu (like change cell color), even sometimes excel windows becomes completly blank and I have no choice to close excel window and re-open it.

I wonder if on my VBA code, I need to add something to stop completly the VBA process. I use a lot of forms. I use this way to make them appear and disappear, I suspect maybe something missing:

Private Sub UserForm_Activate() Form_export_io.Repaint
Call export_IO
Unload Form_export_io
End Sub

It happen more often when I work with my files with VBA and other files are opened and I switch for one to another.
Maybe something special to do in VBA?

Thanks for help!!!
PBA
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Hi All,

I got it ! So I explain, it may be usefull for you all.
In fact I have some VBA process which modify some cells in hidden row or column and finish the process at this position without coming back to non-hidden area.
So I add on VBA to move back active cell on this non-hidden area, and no more trouble.

Thanks!
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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