Need help on an excel if/then in Macro
Solved/Closed
Gman24
Posts
2
Registration date
Thursday 18 March 2010
Status
Member
Last seen
19 March 2010
-
18 Mar 2010 à 17:11
Gman24 Posts 2 Registration date Thursday 18 March 2010 Status Member Last seen 19 March 2010 - 19 Mar 2010 à 10:36
Gman24 Posts 2 Registration date Thursday 18 March 2010 Status Member Last seen 19 March 2010 - 19 Mar 2010 à 10:36
Related:
- Need help on an excel if/then in Macro
- Excel online macros - Guide
- Excel run macro on open - Guide
- Excel mod apk for pc - Download - Spreadsheets
- Macro for number to words in excel - Guide
- Kernel for excel repair - Download - Backup and recovery
1 response
venkat1926
Posts
1863
Registration date
Sunday 14 June 2009
Status
Contributor
Last seen
7 August 2021
811
18 Mar 2010 à 22:22
18 Mar 2010 à 22:22
I presume your column of interest is column G
right click the sheet tab and click view code
in the window that comes up copy paste this EVENT CODE
and save the file
In column G now enter some value <.06 e.g. .03 see what happens to that cell enter more than .06 in some cell in column G. what happens?
give feedback
right click the sheet tab and click view code
in the window that comes up copy paste this EVENT CODE
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column <> Range("G1").Column Then Exit Sub
If Target < 0.06 Then Target = 0.06
End Sub
and save the file
In column G now enter some value <.06 e.g. .03 see what happens to that cell enter more than .06 in some cell in column G. what happens?
give feedback
19 Mar 2010 à 10:36