Bekijk de onderstaande video om te zien hoe je onze site als een web app op je startscherm installeert.
Opmerking: Deze functie is mogelijk niet beschikbaar in sommige browsers.
Privacywetgeving
Het is bij Helpmij.nl niet toegestaan om persoonsgegevens in een voorbeeld te plaatsen. Alle voorbeelden die persoonsgegevens bevatten zullen zonder opgaaf van reden verwijderd worden. In de vraag zal specifiek vermeld moeten worden dat het om fictieve namen gaat.
ActiveCell.FormatConditions.Add Type:=xlCellValue, Operator:=xlNotEqual, Formula1:=1
ActiveCell.FormatConditions(1).Interior.ColorIndex = 22
Type:=xlCellValue
ActiveCell.FormatConditions.Add Type:=xlFormula, Formula1:"=1"
ActiveCell.FormatConditions(1).Interior.ColorIndex = 22
ActiveCell.FormatConditions.Add Type:=xlExpression, Formula1:=1
ActiveCell.FormatConditions.Add Type:=xlExpression, Operator:=xlNotEqual, Formula1:="1"
ActiveCell.FormatConditions(1).Interior.ColorIndex = 22
If Cells(rij, 6) <> "" And Cells(rij, 7) <> "" And Cells(rij, 8) <> "" Then
Cells(rij, 9).Formula = "=Round(5*RC[-3]/(RC[-2]*RC[-1]),0)"
Cells(rij, 9).NumberFormat = "0"
Cells(rij, 9).FormatConditions.Add Type:=xlExpression, Formula1:="=rc[1]<>"""
Cells(rij, 9).FormatConditions(1).Interior.ColorIndex = 8
Else
Roncancio, misschien kun je nog helpen met het volgende:
Ik probeer de code in te passen in de volgende regels, maar dan werkt het niet meer
Code:If Cells(rij, 6) <> "" And Cells(rij, 7) <> "" And Cells(rij, 8) <> "" Then Cells(rij, 9).Formula = "=Round(5*RC[-3]/(RC[-2]*RC[-1]),0)" Cells(rij, 9).NumberFormat = "0" Cells(rij, 9).FormatConditions.Add Type:=xlExpression, Formula1:="=rc[1]<>""" Cells(rij, 9).FormatConditions(1).Interior.ColorIndex = 8 Else
gr wim
als de cel rechts ervan <> ""
opmaak:celkleur rood
gr wim
If Range("F" & rij & ":H" & rij).SpecialCells(xlCellTypeBlanks).Count = 0 Then
Cells(rij, 9).Formula = "=Round(5*RC[-3]/(RC[-2]*RC[-1]),0)"
Cells(rij, 9).NumberFormat = "0"
Cells(rij, 9).FormatConditions.Add Type:=xlExpression, Formula1:="=INDIRECT(""J""& RIJ())<>"""""
Cells(rij, 9).FormatConditions(1).Interior.ColorIndex = 8
We gebruiken essentiële cookies om deze site te laten werken, en optionele cookies om de ervaring te verbeteren.