Solved

VBA Formula

Posted on 2013-11-18
3
182 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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks NB_VC
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

What is a Form List Box? (skip if you know this) The forms List Box is the alternative to the ActiveX list box. If you are using excel 2007, you first make sure you have a developer tab (click the Orb)->"Excel Options"->Popular->"Show Developer tab…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
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…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now