Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Nigel
If I have the Chqcount before the with ws it is ignored completely. If I have chqcount inside the loop it seems to use the counter value as the chqcount. The value is shown as 'Chq' in the form, the form is displayed on a worksheet called Payment entry, and the data stored on the worksheet called data. Wendy "Nigel" wrote in message ... Try this line instead.... .Cells(lRow, 5).Value = "CHQ" & Cstr(ChqCount) -- Regards, Nigel "Wendy" wrote in message ... Hi Nigel It is not adding the chqcount to the value chq, and is only displaying chq in the worksheet cell. I copied your code into mine and am not sure what the problem is. Wendy "Nigel" wrote in message ... Add another counter and increment this when the payment type is CHQ use that number to allocate the payment type CHQ e.g. Nigel "Wendy" wrote in message ... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
End routine by clicking 'X' on Userform | Excel Programming | |||
How do I continue a routine while showing a userform? | Excel Programming | |||
Problem with simple routine to change font size | Excel Programming | |||
Slight problem - routine to add quotes to a column | Excel Programming | |||
Keep userform visible, but return control to calling routine | Excel Programming |