Combining 2 VBA codes
Solved/Closed
SARC
Posts
29
Registration date
Saturday August 7, 2010
Status
Member
Last seen
August 31, 2010
-
Aug 7, 2010 at 01:01 AM
SARC Posts 29 Registration date Saturday August 7, 2010 Status Member Last seen August 31, 2010 - Aug 17, 2010 at 10:59 PM
SARC Posts 29 Registration date Saturday August 7, 2010 Status Member Last seen August 31, 2010 - Aug 17, 2010 at 10:59 PM
Related:
- How to combine 2 vba code in excel
- Tentacle locker 2 - Download - Adult games
- Five nights in anime 2 - Download - Adult games
- Battery reset code - Guide
- How to get whatsapp verification code online - Guide
- Number to words in excel formula without vba - Guide
2 responses
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Aug 7, 2010 at 07:34 PM
Aug 7, 2010 at 07:34 PM
There is lot of ambiguity on what is your intentions
This is presuming that irrespective of fact if you paste the value or not you want to hide the column
This is presuming that irrespective of fact if you paste the value or not you want to hide the column
Private Sub Worksheet_Change(ByVal Target As Range) 'Erik Van Geit 'only allow PasteValues If Application.CutCopyMode <> False Then With Application .ScreenUpdating = False .EnableEvents = False .Undo Target.PasteSpecial _ Paste:=xlPasteValues, _ Operation:=xlNone, _ SkipBlanks:=False, _ Transpose:=False .EnableEvents = True .ScreenUpdating = True End With End If If Range("A2") >= 1 Then Columns("A").EntireColumn.Hidden = True End Sub
Aug 7, 2010 at 09:20 PM
Aug 7, 2010 at 09:24 PM