Try this :

 

Sub DeleteTextOnly()

    Dim wksSheet As Worksheet

    Set wksSheet = ThisWorkbook.Worksheets("SHeet1")

    Application.ScreenUpdating = False

        wksSheet.Range("A1").AutoFilter 1, ">=a"

        wksSheet.Range("A2").Resize(wksSheet.Range("a2").End(xlDown).Row,
1).SpecialCells(xlCellTypeVisible).EntireRow.Delete

    Application.ScreenUpdating = True

End Sub

 

 

From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com]
On Behalf Of Lokesh Loki
Sent: Jan/Fri/2012 03:44
To: excel-macros@googlegroups.com
Subject: Re: $$Excel-Macros$$ Delete text only

 

No Sir i want macros, because of in my log i have mentioned so many formulas
so the excel sheet is gets very slow hence i want macros.

 

Please do the needful.

 

Regards

Lokesh.M

On Fri, Jan 13, 2012 at 3:23 PM, Anjul Porwal <porwalan...@gmail.com> wrote:

hi,

 

use formula IF(ISTEXT(A2),"Delete","")

 

Regards

Anjul

 

 

 

On Fri, Jan 13, 2012 at 3:12 PM, Lokesh Loki <lokeshsmg2...@gmail.com>
wrote:

Hi All,

 

First i need to copy the Cell A and paste it to Cell D and delete the names
(i.e.text) in Cell D through VBA.

 

Find the attached excel file.

 

Regards

Lokesh.M

-- 
FORUM RULES (986+ members already BANNED for violation)
 
1) Use concise, accurate thread titles. Poor thread titles, like Please
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
not get quick attention or may not be answered.
 
2) Don't post a question in the thread of another member.
 
3) Don't post questions regarding breaking or bypassing any security
measure.
 
4) Acknowledge the responses you receive, good or bad.
 
5) Cross-promotion of, or links to, forums competitive to this forum in
signatures are prohibited. 
 
NOTE : Don't ever post personal or confidential data in a workbook. Forum
owners and members are not responsible for any loss.
 
----------------------------------------------------------------------------
--------------------------
To post to this group, send email to excel-macros@googlegroups.com

 

-- 
FORUM RULES (986+ members already BANNED for violation)
 
1) Use concise, accurate thread titles. Poor thread titles, like Please
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
not get quick attention or may not be answered.
 
2) Don't post a question in the thread of another member.
 
3) Don't post questions regarding breaking or bypassing any security
measure.
 
4) Acknowledge the responses you receive, good or bad.
 
5) Cross-promotion of, or links to, forums competitive to this forum in
signatures are prohibited. 
 
NOTE : Don't ever post personal or confidential data in a workbook. Forum
owners and members are not responsible for any loss.
 
----------------------------------------------------------------------------
--------------------------
To post to this group, send email to excel-macros@googlegroups.com

 

-- 
FORUM RULES (986+ members already BANNED for violation)
 
1) Use concise, accurate thread titles. Poor thread titles, like Please
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
not get quick attention or may not be answered.
 
2) Don't post a question in the thread of another member.
 
3) Don't post questions regarding breaking or bypassing any security
measure.
 
4) Acknowledge the responses you receive, good or bad.
 
5) Cross-promotion of, or links to, forums competitive to this forum in
signatures are prohibited. 
 
NOTE : Don't ever post personal or confidential data in a workbook. Forum
owners and members are not responsible for any loss.
 
----------------------------------------------------------------------------
--------------------------
To post to this group, send email to excel-macros@googlegroups.com

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com

Reply via email to