Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

pasting this formula

Posted on 2014-04-27
2
Medium Priority
?
190 Views
Last Modified: 2014-04-27
Hi All,

I have this formula:

=Roundup((C10 * constants!$F$4),0)    ...and to paste this into VBA I have....
= "=Roundup((C" & i & "*" Constants!$F$4 & i & "),0)"

So if I have this formula:
=VBAround(Tickets!V10,,Round!B$1)   ....how would I paste this into vba...?



thanks!
0
Comment
Question by:BostonBob
2 Comments
 
LVL 28

Accepted Solution

by:
MacroShadow earned 2000 total points
ID: 40025508
"=VBAround(Tickets!V10,,Round!B$1)"
"=VBAround(Tickets!V" & i & ",,Round!B$1)"
0
 

Author Comment

by:BostonBob
ID: 40026530
One quick follow up:

What would this look like if "Tickets" was instead "Red Line"?

"=VBAround(Tickets!V" & i & ",,Round!B$1)"

Would that be?....

"=VBAround(Red Line!V" & i & ",,Round!B$1)"
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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 …
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
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.
Suggested Courses

877 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