Solved

VBA Formula

Posted on 2013-11-18
3
199 Views
Last Modified: 2013-11-18
Hi,

I havent entered formula ino the editor in a while

= VLOOKUP(B2,'Calculation D2'!A:BG,29,0)

Im getting an error with the apostrophy before calculation, can anyone advise?

Thanks
Seamus
0
Comment
Question by:Seamus2626
3 Comments
 
LVL 23

Accepted Solution

by:
NBVC earned 500 total points
ID: 39656807
Something like:

Range("A1").Formula = "=VLOOKUP(B2,'Calculation D2'!A:BG,29,0)"

Open in new window

0
 
LVL 10

Expert Comment

by:Anthony Berenguel
ID: 39656828
Is the sheet 'Calculation D2' in the same workbook as the sheet in which you're trying to apply this formula?
0
 

Author Closing Comment

by:Seamus2626
ID: 39656838
Thanks NB_VC
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question