VBA Screenupdating for a certain range.

Subzaltys

New Member
Joined
Sep 5, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi All,

I have a VBA code at the moment that causes a certain column (I can't make it only do a range) to save the previously altered value of another column whenever it is updated.
However I only want these updates visually to happen when a certain milestone occurs in real life, so I think the easiest way to do that is to have ScreenUpdating attached to a dropdown selection being changed, or an ActiveX button or checkbox. This would require the ScreenUpdating code to only affect a certain range which I don't know is possible.

Can anyone help or does anyone know a better way of achieving this? Or am I wanting something impossible?

Thanks,
Reuben
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Welcome to the forum, one easy way to "hide" values is to change the font of the values to white, this means that you can update the values in the columnm and they don't appear, you can then make them appear by changing the formatting, try these two macros:
VBA Code:
Sub Hide()
     With Range("D4:D12").Font
        .ThemeColor = xlThemeColorDark1
        .TintAndShade = 0
    End With
End Sub
Sub unHide()
     With Range("D4:D12").Font
        .ThemeColor = xlThemeColorLight1
        .TintAndShade = 0
    End With
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,151
Members
453,021
Latest member
Justyna P

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