Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-24-2010, 01:30 PM
Kimberly Kimberly is offline How to organize and insert blank cells between a huge number of data? Windows 7 How to organize and insert blank cells between a huge number of data? Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Posts: 517
Kimberly is on a distinguished road
Default

I have to go, so here is another shot at me figuring out what you want:



Code:
Sub Macro1()
'
' Macro1 Macro
'
'
Range("B2").Select
Do
    If (ActiveCell.Value > ActiveCell.Offset(0, -1)) Then
    
        ActiveCell.Range("A1:F1").Select
        Selection.Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove
        ActiveCell.Offset(1, 0).Range("A1").Select
    
    Else
        ActiveCell.Offset(1, 0).Range("A1").Select
    
    End If
Loop Until IsEmpty(ActiveCell.Offset(0, -1))
Range("A1").Select
End Sub
Reply With Quote
  #2  
Old 09-24-2010, 01:47 PM
tareq tareq is offline How to organize and insert blank cells between a huge number of data? Windows 7 How to organize and insert blank cells between a huge number of data? Office 2007
Novice
How to organize and insert blank cells between a huge number of data?
 
Join Date: Sep 2010
Posts: 15
tareq is on a distinguished road
Default

Quote:
Originally Posted by kimberly View Post
i have to go, so here is another shot at me figuring out what you want:

Code:
sub macro1()
'
' macro1 macro
'
'
range("b2").select
do
    if (activecell.value > activecell.offset(0, -1)) then
    
        activecell.range("a1:f1").select
        selection.insert shift:=xldown, copyorigin:=xlformatfromleftorabove
        activecell.offset(1, 0).range("a1").select
    
    else
        activecell.offset(1, 0).range("a1").select
    
    end if
loop until isempty(activecell.offset(0, -1))
range("a1").select
end sub
yessss!! It worked!!!! You did it kim!!! Omg!!! I don't know how to thank you my dearest!!! ))))))))) you solved my problemmm!!!!!
Love you love you love youuuuuuuuuu!!!!!!!!! :d :d :d :d :d
thanksssssss!!! Blesssss youuuu!!! )))))))))))
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bar chart help urgent ????? aligahk06 Excel 1 07-08-2010 12:23 AM
Bar chart help urgent ????? aligahk06 Project 0 07-03-2010 06:58 AM
How to organize and insert blank cells between a huge number of data? Urgent help regarding automation. aligahk06 Excel 1 01-14-2010 01:55 PM
Urgent Help Required id12345 Word 4 12-29-2009 08:22 AM
Urgent help! captainspi Word 2 04-19-2009 11:17 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:05 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft