PDA

View Full Version : excel help



rjw29bs4
01-12-2023, 03:16 AM
hi
i have a invoice in excel and in a36 it says pay 14 day from invoice date.
but i have some custamer that pay monthly. so i need to remove that and say pay monthly.
but dont wont to get deleting and retyping so
please advise

georgiboy
01-12-2023, 08:20 AM
From the description maybe:

Sub test()
Range("A36").Value = "Pay monthly"
End Sub

Aussiebear
01-12-2023, 10:10 AM
or alternatively, you could set up cell A36 as a Data Valuation cell. So you could select a predefined value ( Pay Weekly, Pay Fortnightly, Pay Monthly etc) for each Customer for the Invoice.

georgiboy
01-12-2023, 10:29 AM
That's a good option Aussie, as ever I reach for the only tool in my toolbox which is VBA and take things too literally...

Aussiebear
01-12-2023, 12:00 PM
Sometimes the question as posted is vague and can be taken multiple ways. A fresh set of eyes on a subject can be a good thing. Hey my method may still be wrong.