Auto Date Insertion on cell click in MS Excel

I would like to auto insert the current date when an EMPTY cell in column A is clicked OR becomes the active cell (once column D gets populated by a bar code scanner, it inserts a 'Tab or CR suffix to the end of the scan) and moves down 1 row and back over to column A making it the active cell. If a  cell has data (a date) already then I would like it to pull up the calendar (on cell click) as it does currently if it is clicked or selected. Once the date is inserted the active cell should tab or offset to column C as it does now also. Thanks in advance for any help.

Erik
Shipping-auto-date.xls
FastFordAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

curtiswongCommented:
try if this is what you want.
Shipping-auto-date.xls
FastFordAuthor Commented:
That is partially what I want. But it should bring up the calendar when I click on a cell in column A that already has a date, and it is not offsetting to column C on date insertion.
curtiswongCommented:
try this then
Shipping-auto-date.xls
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

FastFordAuthor Commented:
That is very close. When you click on a blank cell in column A it inserts the date correctly but doesnt offset to Column C.

When you click on a cell with a date in it, it pulls up the calendar and if you change the date it offsets to Column C correctly.

Column D should do nothing. In my original sheet once column D is populated it will move down to the next cell in column A where I wanted it to insert the current date, which it does, but I dont want column D  (via programming) to move to column A. I have a bar code scanner that will take care of that.
curtiswongCommented:
Try this file!!!!
Shipping-auto-date.xls
FastFordAuthor Commented:
When I click in column D it moves me to Column A, it shouldnt. Everything else is working correctly.
curtiswongCommented:
try this then!!!
Shipping-auto-date.xls
FastFordAuthor Commented:
I get a runtime error when I select columns B,C, and D? The functionality seems to be correct but I cant get errors when I select other columns. Thanks again for all your help and persistence.

Erik
curtiswongCommented:
Maybe you are not using Microsoft Office 2007. Click the following link to download an ocx fit for you and install it by following the instruction inside. Then you can use the vba successfully. I tried to run the vba in Office 2003 and work perfectly.
http://www.fontstuff.com/mailbag/qvba01.htm 
FastFordAuthor Commented:
I am using Office 2003. The calendar works fine, however I still re-installed and registered the .ocx. I have attached a screen shot. Maybe that will help.

Erik

error2.JPG
error1.JPG
curtiswongCommented:
Try this, the code is modified to work with merged cells.
Shipping-auto-date.xls
FastFordAuthor Commented:
This is working. Thank you very much for your diligence in helping me out with this. However now I cant delete the data (date) from column A. If a user accidently clicks on a cell in column A, a date gets entered but there is no way to be able to delete it back out???

Erik
curtiswongCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
FastFordAuthor Commented:
Perfect. Thanks again.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.