Solved

pasting this formula in

Posted on 2014-04-11
3
158 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

User Beware!  This is a rather permanent solution to removing your email from an exchange server.  The only way to truly go back is to have your exchange administrator restore your mailbox from backups.  This is usually the option of last resort.  A…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

773 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