I tried all the codes given in replies but the loop is not stopping and its going to end of excel sheet.
Please find the example sheet of my data and help me on the same.
Regards,
Vimala K
I tried all the codes given in replies but the loop is not stopping and its going to end of excel sheet.
Please find the example sheet of my data and help me on the same.
Regards,
Vimala K
Hi, Vimala K,
no need for any loop IMO:
@Fonzie:![]()
Sub EF972535() On Error Resume Next Range("K2:K" & Range("K" & Rows.Count).End(xlUp).Row).SpecialCells(xlCellTypeConstants, 23).Offset(0, 1).FormulaR1C1 = "=RC[-11]" If Err <> 0 Then MsgBox "No cells in Column K as constants" End If End Sub
I doubt your code is taking care of Column K being filled?
Ciao,
Holger
Use Code-Tags for showing your code: [code] Your Code here [/code]
Please mark your question Solved if there has been offered a solution that works fine for you
Thanks Ciao Holger!
Vimalanathk,
Try out this code.
Thanks,![]()
Sub test() Dim row As Long row = 2 Do If Cells(row, 1).Value <> "x" And Cells(row, 1).Value <> "" Then Cells(row, 12).Value = "=+RC[-11]" End If row = row + 1 Loop Until Cells(row, 3).Value = "Powered by GL Compliance Manager" End Sub
Fonzie![]()
Last edited by fonzie29; 12-03-2013 at 02:45 AM.
Your bottom code is giving me the output for blank line of status columns also where i need the out put only the status is updated... it should be blank for status blank line items.
Regards,
Vimala K
Hi Fonzie,
I just changed your script with my requirement and I am getting the output.
Thanks a lot for your help.
Regards,
Vimala K
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks