IAintaBlonde.com » Uncategorized

IAintaBlonde.com

Now that u know, lets get serious…………..

Funny Quote of the daY!

June28

“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.”

-Rick Cook

Copy Previous row data into blank cells (in a selected column) : EXCEL

January15

Sub Fill_Blanks()
Dim col As Long

Set wks = ActiveSheet
With wks
col = ActiveCell.Column
‘or
‘col = .range(“b1″).column

Set rng = .UsedRange ‘try to reset the lastcell
LastRow = .Cells.SpecialCells(xlCellTypeLastCell).Row
Set rng = Nothing
On Error Resume Next
Set rng = .Range(.Cells(2, col), .Cells(LastRow, col)) _
.Cells.SpecialCells(xlCellTypeBlanks)
On Error GoTo 0

If rng Is Nothing Then
MsgBox “No blanks found”
Exit Sub
Else
rng.FormulaR1C1 = “=R[-1]C”
End If

‘replace formulas with values
With .Cells(1, col).EntireColumn
.Value = .Value
End With

End With

End Sub

How to remove hyperlinks from a column in Microsoft Excel?

November20

I love visual basic… yes its having the word basic..but its so much more than that now!!

Many times when you export data from internet or just plain copy-paste when nothing else works, most of the HTML carries itself with the data into excel. Heres some code to remove hyperlinks from a column in excel.

**************

Sub RemoveHyperlink()

Dim Cell As Range

For Each Cell In Intersect(Selection, ActiveSheet.UsedRange)

On Error Resume Next

Cell.Hyperlinks.Delete

Next Cell

End Sub

**********************

All you gotta do you run the macro after selecting the range of cells with hyperlinks :)

Overall Top Posts

Top Posts for Today

  • Recent Comments:

    • admin: Ha Ha. Glad to have saved your life., I mean your time :P
    • Naomi: TY so much! you saved my life. Well, not my life, but you saved me...
    • David M: bohzo (hello) Very, very nice site!
    • ivenxoyz: Hi I saw your blog. You have done a good job, I really liked your...
    • Monique: Are you geared up for the new season? Can’t wait!
    • Ethan: It’s easy to get caught up in the little things, isn’t it?...
    • OweEng2: I love Super Mario especially Yoshi since the Gameboy days, but I...
  • Recent Trackbacks:

    • nihotaqicetuwacn: nihotaqicetuwacn...
    • blog: hello...
    • Recipes for all: Recipe for a great treat > Tandoori Chicken !!
    • Mahdi: Comment on Network Simulation Tools: The ultimate list
    • agrotime: Handling new Hardware on Windows / Reinstalling lost drivers