Hello,
In A1- A4, I want to have a text prompt (gray color, Arial) in each cell
to ask the user to enter the information. The text prompt will be replaced
by the information you entered. Delete the information, the prompt will reappear.
Cell ......Prompt
A1 = Enter your name
A2 = Street number, Street
A3 = City, State, Zip Code, Country
A4 = Telephone Number
I have being using two cells to do this but problematic if there are lots, and it does
not work for merged cell. What I did is that the cell on the left, I make the column width very narrow, and I place
a formula, to check the 2nd cell on the right if it is "" or not "". If it is "", then "Enter your name";
if this not "", then "".
I use across horizontal alignment on both cells to position the prompt on the 2nd cell. Because
1st cell is very narrow column width (1), the text appears is belong to the 2nd cell.
I am looking for a new way using VBA to do this. Cells can be any where other than A1:A4.
It is better if VBA can be written to allow me to specify the cells to use the code.
Thanks
Bookmarks