• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 253
  • Last Modified:

Format Imported Data Error

Hello Experts,

JPaulino kindly wrote a macro which would format imported text into a format that could be easily analysed.  Unfortunately, the macro has stopped working correctly and I am not sure of the reason.  The macro duplicates data from columns B and   columns D in the Formatted worksheet instead of columns A to E.

I have attached the spreadsheet with the macro.

Regards,
InfoSec36
Formatting-of-Text.xls
0
Sonia Bowditch
Asked:
Sonia Bowditch
  • 4
  • 2
2 Solutions
 
gowflowCommented:
that's not what the macro does.
It group by 3 rows ... and a bit not clear.

Could you explain what you need then will check this one out ?
gowflow
0
 
gowflowCommented:
All I read from your post is Easy to Read

So what I did very simply (no macro needed)
1) I selected the sheet Format
2) I Selected Entire Columns A to E
3) PRess on rightclick Format Cell
4) In the Alingment Tab press on Wrap Cell and close the Format press ok
5) Press on the Home Tab in the Alignment of Cells you have the first row that would Align Top or Center or Bottom press on the first one to the left Top.
6) Now Press on any cell and see the data in front of you for all columns then with your down arrow go down and it will show ....
and here you go
don't know if this is what you want. check this file.
gowflow
EasytoRead.xlsx
0
 
regmigrantCommented:
I switched the columns round so the headers match up but as gowflow says its not clear what you are trying to achieve. As it stands the macro reads every third row of "format" sheet and outputs it to "formatted" sheet with the date and the message switched around. It doesn't do any duplication
Copy-of-Formatting-of-Text.xls
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Sonia BowditchAuthor Commented:
Thank you both very much for your help.  Apologies for not explaining exactly what I wanted.  

Both solutions are good.



Regards,
InfoSec36
0
 
gowflowCommented:
Allow me a comment here.

NOT FOR POINTS WHATSOEVER
but

You have a vague question, and despite this you have 2 Experts struggling to understand what you want ... and give you a kind of solution but both Experts are not convince so they stated well clearly in their reply as to asking for more info.

You close the question stating:
Thank you both very much for your help.  Apologies for not explaining exactly what I wanted.  
Both solutions are good.

and you rate this question as B

So I take it:
Either you made a mistake, and this is not problem as everyone of us do make mistake and then there is no reason for my comment except that it highlighted that probably you made a mistake

or

You indeed explicitly wanted to close this question by rating it B not A

then I have following comments:

1) If you are not satisfied with the answer, then why close the question ? As k for more and more and ask for clarifications. You are not forced to close a question just sake closing it.

2) Which I doubt that it is, you hardly give an A as you feel no one deserves an A !!!

I am sorry if my comments are rough they are only meant to highlight on something that does not make sense here. and whatever it is we will welcome and ask for your comments.

Regards
gowflow
0
 
Sonia BowditchAuthor Commented:
The question was very vague which I apologies for.  I should have provided more information.  Despite lack of information from me both of you provided answers which addressed my problem.  You taught me something that I would never have thought of using and regmigrant fixed the macro.

I had made a mistake in the rating and have asked for it to be amended to A.

Thank you very much for both your help and for pointing out my error.

Regards,
InfoSec36
0
 
gowflowCommented:
Your comment well noted and glad we cleared up the confusion and most of all you came out fully satisfied which is the main important issue.
gowflow
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now