Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Find replace hyperion Values

I need to run a macro which will find all hyperion links and replace
with values...I tried copying one from another workbook but it wont
run...any suggestions?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 273
Default Find replace hyperion Values

You could use something like this:

sub newmacroforyou()

lineerror = "no"

Do
Do While lineerror = "no"
On Error GoTo lineerror:

Cells.Find(What:="www", After:=ActiveCell, LookIn:=xlFormulas, LookAt:= _
xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext,
MatchCase:=False _
, SearchFormat:=False).Activate
ActiveCell.Value = "new values"
Selection.Hyperlinks(1).Delete
Loop
Loop Until lineerror = "yes"

If lineerror = "yes" Then
lineerror: MsgBox "Find and replace compelte."
End If

end sub

Hope this helps!
-Chad

" wrote:

I need to run a macro which will find all hyperion links and replace
with values...I tried copying one from another workbook but it wont
run...any suggestions?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Find replace hyperion Values

On Feb 20, 4:38 pm, wrote:
I need to run a macro which will find all hyperion links and replace
with values...I tried copying one from another workbook but it wont
run...any suggestions?


Ah sorry I meant Hyperion links as in the financial database....so
each link begins "=hsgetvalue"

Will your suggetsion still apply if I tweak it?

Thanks Chad!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 273
Default Find replace hyperion Values

sure, just replace "www" in the find criteria with "=hsgetvalue" and it will
work the same way. have fun!

-Chad

" wrote:

On Feb 20, 4:38 pm, wrote:
I need to run a macro which will find all hyperion links and replace
with values...I tried copying one from another workbook but it wont
run...any suggestions?


Ah sorry I meant Hyperion links as in the financial database....so
each link begins "=hsgetvalue"

Will your suggetsion still apply if I tweak it?

Thanks Chad!


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
Find Replace Textual Values across entire records Lynden Excel Worksheet Functions 1 October 9th 06 03:36 AM
Excel find/replace should allow values to be pasted in. belohls Excel Worksheet Functions 1 June 16th 06 09:54 AM
changing formulas to values so that they will be recognized by Find and Replace akeane Excel Discussion (Misc queries) 3 August 8th 05 05:43 PM
Can you Find and Replace values with in a formula? rascall Excel Discussion (Misc queries) 2 June 22nd 05 11:55 PM
How do I find and replace "values" (like #N/A) in a worksheet? hdc Excel Discussion (Misc queries) 3 June 12th 05 12:14 AM


All times are GMT +1. The time now is 01:33 PM.

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

About Us

"It's about Microsoft Excel"