Solved

Math Final

Posted on 2014-01-13
3
239 Views
Last Modified: 2014-02-02
Hi Expert need not to hard coded formula in code, but Code copy formula from sheet Cell H2 & I2 for Gap & Hit Respectively.

So just in future if I need to change formula better to be in change in cell rather then code.


Thanks
Maths-Final.xlsm
0
Comment
Question by:itjockey
  • 2
3 Comments
 
LVL 42

Accepted Solution

by:
Rob Jurd, EE MVE earned 500 total points
ID: 39778395
Ok i've modified the macro again, specifically the WriteFormulas sub.  The old one is still there but not used and is now called WriteFormulas1

The WriteFormulas sub now copies the formulas in H1 and I1 to the cells below as required, rather than being hard coded.

I also modified your formulas by wrapping the formula in IFERROR() so that they could be copied to the below cells without error.  If I hadn't done that the formula errors as it references labels at the top of the sheet and the error continues down to the other cells below.
Maths-Final.xlsm
0
 
LVL 8

Author Closing Comment

by:itjockey
ID: 39778408
Thanks
0
 
LVL 8

Author Comment

by:itjockey
ID: 39828297
Sir Rob (tagit),

I am about to posting question in 15 min if you are looking in to, question is related to this process, that is why I am approaching you 1st. there is series of 3 question. Source data, Process & location.


Thank You
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Microsoft Office Picture Manager is not included in Office 2013. This comes as a shock to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This article explains how…
Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

770 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