Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Not seeing cells as blank
I have a sheet that I copy and past into another in a macro using
paste speical values.....most of the cells are blank. I am using a formula to pick the last 3 rows that have actually info which worked in a new sheet but does not work when I copy and paste a large sheet into another....it seems like it does not see the blank cells correctly.... Please help this is the last piece of the puzzle.... Sheets("P124 copy1").Select Range("a1").Select With ActiveSheet ..Cells.Font.Bold = False ..Range("IV2").End(xlToLeft).EntireColumn.Font.Bol d = True ..Range("A" & Rows.Count).End(xlUp).EntireRow.Copy Sheets("P124 copy1").Select Range("a1").Select Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _ False, Transpose:=False Sheets("P124 copy1").Select Range("a1").Select End With With ActiveSheet ..Cells.Font.Bold = False ..Range("IV2").End(xlToLeft).EntireColumn.Font.Bol d = True ..Range("A" & Rows.Count).End(xlUp).Offset(-1, 0).EntireRow.Copy Sheets("P124 copy1").Select Range("a2").Select Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _ False, Transpose:=False Sheets("P124 copy1").Select Range("a1").Select End With With ActiveSheet ..Cells.Font.Bold = False ..Range("IV2").End(xlToLeft).EntireColumn.Font.Bol d = True ..Range("A" & Rows.Count).End(xlUp).Offset(-2, 0).EntireRow.Copy Sheets("P124 copy1").Select Range("a3").Select Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _ False, Transpose:=False Sheets("P124 copy1").Select Range("a1").Select End With |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Not seeing cells as blank
Yeah I just saw that post!!!! been searching for hours.....
Thanks for the quick response!!!!! I must say this is the best excel blog I have ever been on!! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Need Array Formula for Counting Blank & Non Blank Cells (Multiple Criteria) | Excel Discussion (Misc queries) | |||
Excel 2002: Return blank when VLOOKUP on blank cells | Excel Discussion (Misc queries) | |||
Maximum Number of Blank Cells between Non Blank Cells in a Range | Excel Worksheet Functions | |||
Start Cell B1 then find first blank cell, insert subtotal, next non blank, then next blank, sutotal cells in between......... | Excel Programming | |||
Copy to first Blank cell in Colum C Non blank cells still exist be | Excel Programming |