Inserting 0 in selected cells in excel

Byrner

New Member
Joined
May 17, 2018
Messages
18
Hello , A very warm Hello or Hi to everybody from Ireland

I have just joined my name is Maureen, Not great on computers but using excel for a small craft business I am trying to get going.
Can anybody help? I need to insert the number 0 in selected cells , is there a quicker way to do this other then by typing in 0 opposite every selected name?
I have a long list of customer names, if one name on the list e has order from me in the past I need to insert 0 in the column beside their name.
Its an old list, so I have to read from the list and and when a name matches insert the 0
Any help would be really great
Thanks again
Maureen
 
Mick
I love you ..Thank you you just saved me hours of typing , it works great
THANK YOU SO MUCH
Maureen
 
Upvote 0

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Hi Again ,
Its works great and thanks again just one thing if you know how
it works only in column G is it possible to get it working in 3 columns on the same sheet ,
Reason is I have 3 different categories and it would be very helpful if I could also tick off which item they brought.
If it only works on one column that is fine
Thanks
Kind Regards Maureen
 
Upvote 0
Anyone know how to do this?
My head is just about to fall off my shoulders now , please ban all computers and bring back the carbon paper and pencils
Thanks to all and especially to anyone who can help
M
 
Upvote 0
How about
Code:
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
   If Intersect(Target, Range("G:I")) Is Nothing Then Exit Sub
   Cancel = True
   Target.Value = IIf(Target.Value = "", 0, "")
End Sub
 
Upvote 0
Thanks Fluff, Really grateful
Funny thing happened my PC crashed as I was working in excel it restarted but now all my files are gone and Microsoft edge is installed without any prompt from me.
So just lost all my work. but will be able to use your calculations in the future , I will always back my files from now on
Regards
 
Upvote 0
Hi Again,
Looking for a little more help , I am trying to list all past costumers from paper files to excel, I got great help from Mick and Fluff on Friday so now I just need to take on to the final step. The code above from Fluff allows me to double click and insert a (0) in columns G to i, what I need to do now it extend this from Coloum G to Coloum U . Theses Columns represent items I sell and by double clicking in a cell within these columns I can quickly select an item.
Hope this makes sense and I am really great full to you all
Thanks
I have pased a n example of what I am doing

NameAddress 1 Address 2 CountryPost CodeTelephone123456789101112131415TotalsTotals
abcxxxxx 0
0
Each number reperesent items purshased 0
0
Names Addresses Contact info 0
WOULD LIKE TO BE ABLE TO DOUBLE CLICK ANYWHERE IN GREY BOX TO INDICATE A SALE 0
0
0
0
0
0
0
0

<colgroup><col><col><col span="4"><col span="17"></colgroup><tbody>
</tbody>
 
Upvote 0
Sorry about the spelling mistakes above tried to edit it but could not, Typing is not my great strength as I was born in a age of Inkwells and Ink.
Maureen
 
Upvote 0
Try changing the "I" to a "U" in the line below:-
Code:
Intersect(Target, Range("G:I"))
 
Upvote 0

Forum statistics

Threads
1,215,187
Messages
6,123,540
Members
449,107
Latest member
caya

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