Wow That is neat. Thanks I need to try and remmember that.

On Thursday, July 26, 2012 12:56:39 AM UTC-4, अनिल नारायण गवली wrote:

> Dear Tony,
>  
> U can use without macro....
> Just select the range and press ctl+G of press F5 function key .
> Then click to blank cell and use Alt+E+D select the row and delete it
>  
> Regards,
> Gawli anil
>
> On Thu, Jul 26, 2012 at 8:42 AM, NOORAIN ANSARI 
> <noorain...@gmail.com<javascript:>
> > wrote:
>
>> Dear Tony,
>>
>> Please try it..
>>
>> *Sub DeleteBlank()*
>> *    On Error Resume Next
>>     ActiveSheet.UsedRange.SpecialCells(xlCellTypeBlanks).EntireRow.Delete
>>     On Error GoTo 0: On Error GoTo -1: Err.Clear*
>> *End Sub*
>>  
>>
>> On Thu, Jul 26, 2012 at 5:13 AM, Tony O <> wrote:
>>
>>> I am working on a spreadsheet with Excel 2007.
>>> I have the vba code to delete a line:
>>>
>>> Selection.Delete Shift:=xlUp
>>>
>>> I want to delete all rows that have the cells in column A that are blank 
>>> and  column B and column C for just those rows.
>>>
>>> I'm thinking that the code should look something like this, but I am not 
>>> getting it to work the way I want to:
>>>
>>> dim rowchk as integer
>>>
>>> for rowchk = 1 to 1000
>>> if activecell.Arowchk ="" then Selection.Delete Shift:=xlUp
>>> end if
>>>
>>> Please advise.
>>>
>>>
>>>
>>>
>>>
>>> -- 
>>> -- 
>>> 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-...@googlegroups.com<javascript:>
>>>  
>>> To unsubscribe, send a blank email to 
>>> excel-macros...@googlegroups.com<javascript:>
>>>  
>>>  
>>>
>>
>>
>>
>> -- 
>> With Regards,
>> Noorain Ansari
>> http:// 
>> <http://www.noorainansari.com/>noorainansari.com<http://www.noorainansari.com/>
>> http:// <http://www.excelvbaclinic.blogspot.com/>
>> excelvbaclinic.blogspot.com <http://www.excelvbaclinic.blogspot.com/>
>> http://accesssqclinic.blogspot.in/
>>   
>>
>>
>>
>> -- 
>> -- 
>> 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-...@googlegroups.com<javascript:>
>>  
>> To unsubscribe, send a blank email to 
>> excel-macros...@googlegroups.com<javascript:>
>>  
>>  
>>
>
>
>
> -- 
> Thanks & Regards,
> Gawli Anil Narayan
> Software Developer,
> Abacus Software Services Pvt Ltd
>

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

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) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to