Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T De Villiers
 
Posts: n/a
Default Converting to absolute reference


Hi, I need to ensure that if the user enters a lookup range with
relative references, it is converted to absolute.
Below,ive tried using xlabsolute(b), but its not quite working, any
help
is much appreciated

Function taz(a, b, c)

On Error Resume Next
taz = WorksheetFunction.VLookup(a, xlabsolute(b), c, 0)


On Error GoTo 0
If IsError(taz) Then
taz = 0
End If
End Function


--
T De Villiers
------------------------------------------------------------------------
T De Villiers's Profile: http://www.excelforum.com/member.php...o&userid=26479
View this thread: http://www.excelforum.com/showthread...hreadid=505296

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Converting to absolute reference

All you can do is use an absolute version of the range provided, which is
totally pointless. Why do you want to do this?

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"T De Villiers"
wrote in message
news:T.De.Villiers.228ubn_1138281903.5455@excelfor um-nospam.com...

Hi, I need to ensure that if the user enters a lookup range with
relative references, it is converted to absolute.
Below,ive tried using xlabsolute(b), but its not quite working, any
help
is much appreciated

Function taz(a, b, c)

On Error Resume Next
taz = WorksheetFunction.VLookup(a, xlabsolute(b), c, 0)


On Error GoTo 0
If IsError(taz) Then
taz = 0
End If
End Function


--
T De Villiers
------------------------------------------------------------------------
T De Villiers's Profile:

http://www.excelforum.com/member.php...o&userid=26479
View this thread: http://www.excelforum.com/showthread...hreadid=505296



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
Copying a work sheet cell reference as relative not absolute? Velson Excel Discussion (Misc queries) 4 January 7th 06 01:46 PM
Excel should have a absolute reference cell property. Unitrip Excel Discussion (Misc queries) 5 March 27th 05 04:55 PM
Trouble with making a 3D reference absolute Sherry Excel Discussion (Misc queries) 1 March 24th 05 09:28 PM
Absolute Worksheet reference number Tony M Excel Discussion (Misc queries) 4 March 21st 05 06:10 PM
Unmovable absolute reference mulkdog Excel Worksheet Functions 2 March 10th 05 10:51 PM


All times are GMT +1. The time now is 02:59 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"