Question : Show email id in excel

I have got a excel file which has one column which shows the text "email" , when you hover mouse over this text it shows the actual email id.so probably the actual emaild is is stored on that excel file.
How can i get these email ids and copy to another column.
Cannot do manually since there are over 20000 rows.

Answer : Show email id in excel

You can insert the following into a module and run it:
The offset from the cell containing the link is defined as columnoffset and will overwrite the value presently there, if set to zero it will overwrite the link, i.e. delete it replace the link with the linked address
To Create a macro:
------------------

Alt + F11 to open the macro editor
     Insert | Module to insert a code module into the project
     In the project tree select the module.
     Insert the required macro(s) into the selected module, ('Module1' or similar)
Close the Visual Basic Editor.

Check Security as appropriate:
------------------------------

In the application select Tools | Macro | Security
Select Medium
Select OK

To run a macro:
---------------

Alt + F8
Select the macro
Select 'Run'


Chris
1:
2:
3:
4:
5:
6:
7:
8:
Sub dolinks()
Dim lnk As Hyperlink
Dim columnoffset As Integer
    columnoffset = 1
    For Each lnk In ActiveSheet.Hyperlinks
        ActiveSheet.Cells(lnk.Parent.Cells.row, lnk.Parent.Cells.Column + columnoffset) = lnk.Address
    Next
End Sub
Random Solutions  
 
programming4us programming4us