| Home > Forum Home > Automating Data Analysis Tasks > Exclude Space and restrict text length | Share |
| Forum Topic | Post Reply Login |
Exclude Space And Restrict Text Length | Rate this: (3/5 from 1 vote) |
| Hi I want to delete spaces and need to restrict the text length (e.g +441612890000) in a worksheet. I tried to use Data Validation, but I have noticed that if you copy and paste the data from a different worksheet then the validation doesn't works. I tried adding code VBA Code:
but nothing works. Is there a way we can develop a button which will delete all the spaces once the data is copied from a different worksheet or can we write a script in the VBE to resolve this? I would be pleased if someone could help me to sort this out. Many Thanks Dee | |||
| Dee | |||
| Posted by dkalra1981 on | |||
| Replies - Displaying 1 to 1 of 1 | Order Replies By: Most recent | Chronological | Highest Rated |
Rate this: (3/5 from 1 vote) VBA Code:
| ||
| Excel Business Forums Administrator | ||
| Posted by Excel Helper on |
| Displaying page 1 of 1 |
| Find relevant Excel templates and add-ins for Exclude Space and restrict text length in the Excel Business Solutions Directory |