Solved

Problem with DO Wend Loop

Posted on 2013-12-17
1
128 Views
Last Modified: 2013-12-19
Hi Guys, can you tell me why my code is populating the cells (i,18) & Cells(i,20) with "VALUE#"? I enclose my attachment:


ElseIf Cells(i, 6).Value = "ANCOVBONDM" Then
Cells(i, 18).Value = "-832191"
Cells(i, 20).Value = "0.00"
Cells(i, 23).Value = "0.00"
DummyRec9.xlsm
0
Comment
Question by:Justincut
1 Comment
 
LVL 46

Accepted Solution

by:
Martin Liss earned 500 total points
ID: 39725312
The columns that are "VALUE#" are S and U which in Cells() is 19 and 21, not 18 and 20, so the code you show doesn't apply (at least not how it is written).
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot 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…

813 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now