Hi guys, new to the forum so forgive any faux pas please.
This question relates to Microsoft Office 16 ( with the workbook shared to MS Office 13 and 10 occasionally ) I have searched these forums for help and tried several solutions but as yet have found no recent or relevant to my version solutions - the attempts using info from these forums so far have had no success so please forgive me for asking the same question you get asked every other week. I have also followed the links to McGimpsey and Associates several times with eiter no luck or too little understanding.
My husband has a tiny business that requires a very simple cash sale/invoice template. He is an administrators nightmare and so is his buddy that occasionally works for him. Every time I have created an invoice template for them they backspace through my formulas and muck things up. Yes, I should have protected the worksheets but I was new to excel too.
This time I have created the bees knees of templates for them and locked and hidden any cell with a formula and have protected both the sheet and the workbook - woohoo - no more foul ups!
Anyway - Question 1.
I have a cell - I8 which contains the function =""&TEXT(TODAY(),"ddmmyy")&N3
Cell N3 holds a 4 digit number which I want to increase by 1 each time the template is saved.
I have tried several VBA macros with no luck.
The latest one has been this one
which of course I snagged from these forums.
Note, for some reason Excel has named my first sheet "sheet50" and the second one "sheet1". I have named them 'Basic Invoice" and "Products" respectively. I am getting a subscript out of range error, runtime error 9 and a variety of other error messages whenever I try anything.
I have even tried a very simple macro
Had problems with this one too so now I am stumped.
Please note that these are my first ever attempts at VBA so please excuse the rookie mistakes.
My other question relates to saving the file to a speciic path. I want the guys to be able to open the template from the desktop but I want them to be able to save the filled in file with the invoice number in the filename (maybe even the client name
) to a particular place - even if that place is another folder on the desktop. The other guy who works with my husband would love to see the invoices saved in folders that pertain to the month they were created in but I realise that seems to be expecting a great deal from an app and a person ( me ) with very basic excel knowledge/a
Any and all help appreciated and thanks to those willing and able to help others on these forums - You guys have already taught me a lot.
Bookmarks