Paste values over a formula on condition of a column in same sheet

10 pts.
Tags:
Excel VBA
Microsoft Excel formulas
Microsoft Excel macros
VBA
Visual Basic for Applications
Hi, I need to create a macro for my spreadsheet. I will try to attach a sample of it if required and if someone can tell me how to do it. This may aid my description of what I want to do. Basically I need to run a check which does the following: If J2 = “X” – then select F2 and paste special If J3 = “X” – then select F3 and paste special And so on I basically want it to look for all complete items in Column J – and remove the formula for that row in Column F and paste the value over the top of it. For any incomplete columns in J (Defined as “”) I need the formula to remain in column F for that row. I will set this up as a macro which runs upon closure of workbook so any coding to do this would be much appreciated. Thanks in advance
ASKED: April 21, 2009  9:49 AM
UPDATED: April 21, 2009  12:35 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following