Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / February 2007

Tip: Looking for answers? Try searching our database.

VBA Formulae...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MarkHear1 - 19 Feb 2007 09:20 GMT
I am using the below formula and it works a treat. However I want the
'FirstB.Address' to be input as a relative reference rather than the
default absolute reference. Could anybody offer any help as to how I
could do this? Many Thanks.

First.Formula = "=VLOOKUP(" & FirstB.address & ", 'download.csv'!$A
$2:$J$5000,10,FALSE)"

Regards,
Mark
RichardSchollar - 19 Feb 2007 09:29 GMT
Hi Mark

Try this:

First.Formula = "=VLOOKUP(" & FirstB.Address(False,False) & ",
'download.csv'!$A$2:$J$5000,10,FALSE)"

Hope this helps!

Richard

> I am using the below formula and it works a treat. However I want the
> 'FirstB.Address' to be input as a relative reference rather than the
[quoted text clipped - 6 lines]
> Regards,
> Mark
MarkHear1 - 19 Feb 2007 09:34 GMT
On Feb 19, 9:29 am, "RichardSchollar" <richardschol...@hotmail.com>
wrote:
> Hi Mark
>
[quoted text clipped - 19 lines]
>
> - Show quoted text -

Richard, thank you very much - that's brilliant :-)

Regards,
Mark
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.