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
Solved

pasting this formula in

Posted on 2014-04-11
3
159 Views
Last Modified: 2014-04-12
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
Comment
Question by:BostonBob
3 Comments
 
LVL 22

Accepted Solution

by:
Flyster earned 500 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

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

Author Comment

by:BostonBob
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

861 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