ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Macro - Import, Delete, Concatenate (https://www.excelbanter.com/excel-programming/432520-macro-import-delete-concatenate.html)

cranen

Macro - Import, Delete, Concatenate
 
I need a macro that imports a text file, deletes entire rows if in column C
there is a blank, deletes entire rows that include text that I specify,
concatenates rows that meet criteria (e.g. C1 and C2 are combined if A2="" if
not then C1), and Deletes rows where cells in Column A are blank. I need it
to do this in the order given. Thanks so much for your help and time.

Don Guillett

Macro - Import, Delete, Concatenate
 
Have you tried recording a macro while doing it manually. Then clean it up
and then re-post

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"cranen" wrote in message
...
I need a macro that imports a text file, deletes entire rows if in column C
there is a blank, deletes entire rows that include text that I specify,
concatenates rows that meet criteria (e.g. C1 and C2 are combined if A2=""
if
not then C1), and Deletes rows where cells in Column A are blank. I need
it
to do this in the order given. Thanks so much for your help and time.



cranen

Macro - Import, Delete, Concatenate
 
I am not sure how to make the functions work by recording a macro. I have
all of the code, but I just can't figure out how to combine it together and
use it with the "if" and "Concatenate" statements. Any suggestions?

"Don Guillett" wrote:

Have you tried recording a macro while doing it manually. Then clean it up
and then re-post

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"cranen" wrote in message
...
I need a macro that imports a text file, deletes entire rows if in column C
there is a blank, deletes entire rows that include text that I specify,
concatenates rows that meet criteria (e.g. C1 and C2 are combined if A2=""
if
not then C1), and Deletes rows where cells in Column A are blank. I need
it
to do this in the order given. Thanks so much for your help and time.





All times are GMT +1. The time now is 11:20 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com