?
Solved

VBA Formula

Posted on 2013-11-18
3
Medium Priority
?
229 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 23

Accepted Solution

by:
NBVC earned 2000 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

649 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