Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default formulas to values

First of all let me say that I am very now to all of this. I can barel
sort. Ok I have a column of hyperlinks of which I need the addresses
so that I can transfer the data into Access. I managed to get thi
function to work:


Function LinkAddress(cell As Range)
'Lists the Hyperlink Address for a Given Cell
If (cell.Range("A1").Hyperlinks.Count < 1) Then
On Error Resume Next
LinkAddress = cell.Text
Else
LinkAddress = cell.Range("A1").Hyperlinks(1).Address
End If
End Function


Unfortunately when I make a bunch of cells with this in it, I can'
transfer the data anywhere because the formulas get transfered and no
the values(the addresses). Can I make a macro that will go down th
column, run this function, and then place the value it gets in the nex
column to the right? That sounds pretty straight forward I just hav
no idea how to do it. Advice please.
-Spork

Ps. this was just answered in the thread titled "To Tom" but I coul
not understand how to take that spefic solution and apply it to m
problem. :

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default formulas to values

If you're adding the formula manually, you could just copy that range and
paste|special values.



"Spork Rhonewood <" wrote:

First of all let me say that I am very now to all of this. I can barely
sort. Ok I have a column of hyperlinks of which I need the addresses,
so that I can transfer the data into Access. I managed to get this
function to work:

Function LinkAddress(cell As Range)
'Lists the Hyperlink Address for a Given Cell
If (cell.Range("A1").Hyperlinks.Count < 1) Then
On Error Resume Next
LinkAddress = cell.Text
Else
LinkAddress = cell.Range("A1").Hyperlinks(1).Address
End If
End Function

Unfortunately when I make a bunch of cells with this in it, I can't
transfer the data anywhere because the formulas get transfered and not
the values(the addresses). Can I make a macro that will go down the
column, run this function, and then place the value it gets in the next
column to the right? That sounds pretty straight forward I just have
no idea how to do it. Advice please.
-Spork

Ps. this was just answered in the thread titled "To Tom" but I could
not understand how to take that spefic solution and apply it to my
problem. : (

---
Message posted from http://www.ExcelForum.com/


--

Dave Peterson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formulas to Values DJaded Excel Worksheet Functions 11 February 9th 09 05:31 PM
IF formulas with more than two possible values janet Excel Discussion (Misc queries) 10 October 1st 08 05:58 PM
CELLS NOT CALC FORMULAS - VALUES STAY SME FORMULAS CORRECT?? HELP Sherberg Excel Worksheet Functions 4 September 11th 07 01:34 AM
values in IF formulas Prima1 Excel Worksheet Functions 2 May 11th 06 04:51 AM
Formulas as Values Jack Brackson Excel Discussion (Misc queries) 3 July 29th 05 12:34 PM


All times are GMT +1. The time now is 08:41 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"