Solved

# pasting this formula in

Posted on 2014-04-11
Medium Priority
165 Views
Hi,

I have this formula that I am trying to paste into vba:

Formula:
=Roundup((C10 * Constants!\$F\$4),0)

What I have for vba (so far):

= "= Roundup((C" & i & "*" constants!\$F\$4 & i & "), 0)"

I think I am almost 'there' with this one; can somebody give me a shove over the finish line?

thanks!
0
Question by:BostonBob
[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

LVL 22

Accepted Solution

Flyster earned 2000 total points
ID: 39995628
Try this:

= "= Roundup((C" & i & "* Constants!\$F\$4), 0)"

Not sure why you had the variable i after \$F\$4.

Flyster
0

LVL 30

Expert Comment

ID: 39995982
Looks like  you want to loop through a few cells.
Upload a simple workbook demonstrating the issue.
0

Author Comment

ID: 39996538
Sweet.

Any chance you want to take a crack at my previous question that is still open?

Same problem, bigger scale....

Thanks either way!!!
0

## Featured Post

Question has a verified solution.

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

This collection of functions covers all the normal rounding methods of just about any numeric value.
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
###### Suggested Courses
Course of the Month13 days, 14 hours left to enroll

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

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