Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
hello,
how could i make any blank cell in a particular range in a worksheet displays certain word if it is dataless?? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Past this formula in B2
=IF(A2="","missing","") write something in A2 and then delete it. "nada" wrote: hello, how could i make any blank cell in a particular range in a worksheet displays certain word if it is dataless?? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi
What do you mean by blank? Does the cell hold a formula or is the user supposed to to enter data into the cell? Regards, Per "nada" skrev i meddelelsen ... hello, how could i make any blank cell in a particular range in a worksheet displays certain word if it is dataless?? |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
that's not what i need to do, i'll try to be clearer
i have some data in the range b6:m19, some cells in this range are blank, so i want them automatically display the word "missing" if there is no data in them, thank you. "Jman" wrote: Past this formula in B2 =IF(A2="","missing","") write something in A2 and then delete it. "nada" wrote: hello, how could i make any blank cell in a particular range in a worksheet displays certain word if it is dataless?? |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
hello,
i have some data in the range b6:m19, some cells in this range are blank, so i want them automatically display the word "missing" if there is no data in them, thank you. "Per Jessen" wrote: Hi What do you mean by blank? Does the cell hold a formula or is the user supposed to to enter data into the cell? Regards, Per "nada" skrev i meddelelsen ... hello, how could i make any blank cell in a particular range in a worksheet displays certain word if it is dataless?? |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hello,
Here's a way to do it. Copy the code below, right click on the sheet tab where you this function. Click View Code. Paste the code on the code sheet and close the code editor. Deactivate the sheet, and then activate it again. All "empty" cells will now say "Missing" User can enter data as usual and if he delete data in target range the cell will say "Missing" I hope this is what you need. Private Sub Worksheet_Activate() Dim MyRange As Range Set MyRange = Range("B6:M19") For Each c In MyRange If c.Value = "" Then c.Value = "Missing" Next End Sub Private Sub Worksheet_Change(ByVal Target As Range) Dim MyRange As Range Set MyRange = Range("B6:M19") Set isect = Application.Intersect(MyRange, Target) If Not isect Is Nothing Then If Target.Value = "" Then Target = "Missing" End If End Sub Best regards, Per "nada" skrev i meddelelsen ... hello, i have some data in the range b6:m19, some cells in this range are blank, so i want them automatically display the word "missing" if there is no data in them, thank you. "Per Jessen" wrote: Hi What do you mean by blank? Does the cell hold a formula or is the user supposed to to enter data into the cell? Regards, Per "nada" skrev i meddelelsen ... hello, how could i make any blank cell in a particular range in a worksheet displays certain word if it is dataless?? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I change the column heading in Excel to display "A" "B" "C | New Users to Excel | |||
Signature missing when "send to" "mail recipient" | Excel Discussion (Misc queries) | |||
Formatting: display blank when "O", 2 decimal when a number is d | New Users to Excel | |||
Scroll Bar missing "Control" tab in "Format Properties" dialog box | Excel Discussion (Misc queries) | |||
Changing "returned" values from "0" to "blank" | Excel Worksheet Functions |