g_marquez04
New Member
- Joined
- Jun 13, 2003
- Messages
- 17
Ok guys I have a problem, I have a column that I want only numbers to be entered in. I have created a macro that will
1. Copy and paste the below data into another worsheet,
but I also want for this macro to
2. Delete all letters that are in the column,
3. BUT I want to keep all the numbers.
4. I also want a message box to appear telling the user that there is text in that cell.
5. And I want that row to be highlighted.
I have no clue how to delete the letters from the cell, I may be able to figure out how to highlight the rows, and pop up the message box.
Thanks in advance for the help
1. Copy and paste the below data into another worsheet,
but I also want for this macro to
2. Delete all letters that are in the column,
3. BUT I want to keep all the numbers.
4. I also want a message box to appear telling the user that there is text in that cell.
5. And I want that row to be highlighted.
I have no clue how to delete the letters from the cell, I may be able to figure out how to highlight the rows, and pop up the message box.
Thanks in advance for the help
Book3 | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | PartNumber | Qty | ||||
2 | 83322 | 2 | ||||
3 | 84762 | 3 | ||||
4 | 88523 | 4 | ||||
5 | 89808 | 50 | ||||
6 | 89846 | 1 | ||||
7 | 89848 | 4 | ||||
8 | 89870 | 58 | ||||
9 | 92302 | 18 | ||||
10 | 92304 | 50LF | ||||
11 | 92306 | 20 | ||||
12 | 92307 | 2 | ||||
13 | 92310 | 20 | ||||
14 | 92316 | 54 | ||||
15 | 92317 | 20LF | ||||
16 | 92318 | H50 | ||||
17 | 96991 | F12 | ||||
18 | 274433 | 50 | ||||
19 | 288056 | 20 | ||||
20 | 288057 | 1 | ||||
21 | 289170 | 4 | ||||
Sheet1 |