mahmed1
Well-known Member
- Joined
- Mar 28, 2009
- Messages
- 2,302
- Office Version
- 365
- 2016
- Platform
- Windows
Hi Guys
I have 3 columns A2:C10 where i put an Id in ie 12345
now some cells could have blanks, an Id or multiple Ids separated by a comma
what i want to be able to do is if the cell has an id or multiple ids then create a string like this
<found>
for some reason its lost my string concat
it should be like this
(Found)
(ID)123456(/ID)
(/Found)
(Found)
(ID)555555(/ID)
(/Found)
<found><found><found><found><found>If the cell is blank then skip over it and dont process it
If all cells are blank the exit sub saying no data to import
I hope this makes sense
thank
you</found></found></found></found></found></found>
I have 3 columns A2:C10 where i put an Id in ie 12345
now some cells could have blanks, an Id or multiple Ids separated by a comma
what i want to be able to do is if the cell has an id or multiple ids then create a string like this
<found>
for some reason its lost my string concat
it should be like this
(Found)
(ID)123456(/ID)
(/Found)
(Found)
(ID)555555(/ID)
(/Found)
<found><found><found><found><found>If the cell is blank then skip over it and dont process it
If all cells are blank the exit sub saying no data to import
I hope this makes sense
thank
you</found></found></found></found></found></found>
Last edited by a moderator: