lprabhu1107
Board Regular
- Joined
- Mar 10, 2011
- Messages
- 106
Hi Experts
I have following in Column A
<TABLE style="WIDTH: 605pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=806><COLGROUP><COL style="WIDTH: 605pt; mso-width-source: userset; mso-width-alt: 29476" width=806><TBODY><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; WIDTH: 605pt; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20 width=806>MAA AI X/BOM AI JFK550.19XRAOPIN1/PIN4 AI X/MNL AI SIN550.19XRAOPIN1/PIN4 NUC1100.38 XF JFKINR4.5END ROE44.976</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>MAA AI X/DXB AI LAX550.19XRAOPIN1/PIN4 AI X/DXB AI MAA550.19XRAOPIN1/PIN4 NUC1100.38 XF LAXINR4.5END ROE44.976</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>MAA AI X/DXB AI LAX550.19XRAOPIN1/PIN4 AI X/DXB AI MAA550.19XRAOPIN1/PIN4 NUC1100.38 XF LAXINR4.5END ROE44.976</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>MAA AI X/DXB AI LAX550.19XRAOPIN1/PIN4 AI X/DXB AI MAA550.19XRAOPIN1/PIN4 NUC1100.38 XF LAXINR4.5END ROE44.976</TD></TR></TBODY></TABLE>
After using a macro i remove the numbers from the each cell. Then the columns in A1 is as follows,
<TABLE style="WIDTH: 605pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=806><COLGROUP><COL style="WIDTH: 605pt; mso-width-source: userset; mso-width-alt: 29476" width=806><TBODY><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; WIDTH: 605pt; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20 width=806>MAA AI X/BOM AI JFK.XRAOPIN/PIN AI X/MNL AI SIN.XRAOPIN/PIN NUC. XF JFKINR.END ROE.</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>MAA AI X/DXB AI LAX.XRAOPIN/PIN AI X/DXB AI MAA.XRAOPIN/PIN NUC. XF LAXINR.END ROE.</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>MAA AI X/DXB AI LAX.XRAOPIN/PIN AI X/DXB AI MAA.XRAOPIN/PIN NUC. XF LAXINR.END ROE.</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>MAA AI X/DXB AI LAX.XRAOPIN/PIN AI X/DXB AI MAA.XRAOPIN/PIN NUC. XF LAXINR.END ROE.</TD></TR></TBODY></TABLE>
from the above column A i need to remove certain charecters and the final output should be as follows,
Cell A1: MAA BOM JFK MNL SIN JFK
Cell A2: MAA DXB LAX DXB MAA LAX
Cell A3: MAA DXB LAX DXB MAA LAX
Cell A4: MAA DXB LAX DXB MAA LAX
Charecters to be removed is placed in Sheet 2 Column A as follows,
<TABLE style="WIDTH: 48pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=64><COLGROUP><COL style="WIDTH: 48pt" width=64><TBODY><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; WIDTH: 48pt; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20 width=64>AI</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>X/</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>XRAOPIN/PIN</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>NUC</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>XF</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>.</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>INR</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>END</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>ROE</TD></TR></TBODY></TABLE>
Is this possible....
I have following in Column A
<TABLE style="WIDTH: 605pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=806><COLGROUP><COL style="WIDTH: 605pt; mso-width-source: userset; mso-width-alt: 29476" width=806><TBODY><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; WIDTH: 605pt; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20 width=806>MAA AI X/BOM AI JFK550.19XRAOPIN1/PIN4 AI X/MNL AI SIN550.19XRAOPIN1/PIN4 NUC1100.38 XF JFKINR4.5END ROE44.976</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>MAA AI X/DXB AI LAX550.19XRAOPIN1/PIN4 AI X/DXB AI MAA550.19XRAOPIN1/PIN4 NUC1100.38 XF LAXINR4.5END ROE44.976</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>MAA AI X/DXB AI LAX550.19XRAOPIN1/PIN4 AI X/DXB AI MAA550.19XRAOPIN1/PIN4 NUC1100.38 XF LAXINR4.5END ROE44.976</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>MAA AI X/DXB AI LAX550.19XRAOPIN1/PIN4 AI X/DXB AI MAA550.19XRAOPIN1/PIN4 NUC1100.38 XF LAXINR4.5END ROE44.976</TD></TR></TBODY></TABLE>
After using a macro i remove the numbers from the each cell. Then the columns in A1 is as follows,
<TABLE style="WIDTH: 605pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=806><COLGROUP><COL style="WIDTH: 605pt; mso-width-source: userset; mso-width-alt: 29476" width=806><TBODY><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; WIDTH: 605pt; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20 width=806>MAA AI X/BOM AI JFK.XRAOPIN/PIN AI X/MNL AI SIN.XRAOPIN/PIN NUC. XF JFKINR.END ROE.</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>MAA AI X/DXB AI LAX.XRAOPIN/PIN AI X/DXB AI MAA.XRAOPIN/PIN NUC. XF LAXINR.END ROE.</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>MAA AI X/DXB AI LAX.XRAOPIN/PIN AI X/DXB AI MAA.XRAOPIN/PIN NUC. XF LAXINR.END ROE.</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>MAA AI X/DXB AI LAX.XRAOPIN/PIN AI X/DXB AI MAA.XRAOPIN/PIN NUC. XF LAXINR.END ROE.</TD></TR></TBODY></TABLE>
from the above column A i need to remove certain charecters and the final output should be as follows,
Cell A1: MAA BOM JFK MNL SIN JFK
Cell A2: MAA DXB LAX DXB MAA LAX
Cell A3: MAA DXB LAX DXB MAA LAX
Cell A4: MAA DXB LAX DXB MAA LAX
Charecters to be removed is placed in Sheet 2 Column A as follows,
<TABLE style="WIDTH: 48pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=64><COLGROUP><COL style="WIDTH: 48pt" width=64><TBODY><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; WIDTH: 48pt; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20 width=64>AI</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>X/</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>XRAOPIN/PIN</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>NUC</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>XF</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>.</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>INR</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>END</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #c0c0c0; BORDER-LEFT: #c0c0c0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: #c0c0c0" height=20>ROE</TD></TR></TBODY></TABLE>
Is this possible....