Solved

Formula Problem 2

Posted on 2013-11-03
1
217 Views
Last Modified: 2013-11-03
Hi All,

I have this formula that I the compiler does not like:

Worksheets("Pre").Range(wraps.Address).Offset(0,-3).Formula = "=if(" & B1 & wraps.row& "*" & B2 & wraps.Row& * & B3 & wraps.Row& * & B4 & wraps.row& * & B5 & wraps.Row& ",1,0)"

The compiler is highlighting "*" in yellow.    I am pretty sure that I have the variables all defined correctly.

I am just trying to multiply.  

Any idea?

thanks,
0
Comment
Question by:BostonBob
1 Comment
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 500 total points
ID: 39620744
Worksheets("Pre").Range(wraps.Address).Offset(0, -3).Formula = "=if(" & B1 & wraps.Row & "*" & B2 & wraps.Row & "*" & B3 & wraps.Row & "*" & B4 & wraps.Row & "*" & B5 & wraps.Row & ",1,0)"
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

832 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