filling

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to fill the cells in a row that start at a value in the first cell of that row and end at a value in the second cell of that row
-Greg
 
Trying again...

Here's one that fills 5 columns across.

Sub test()
Dim lngRow As Long, lngColumns As Long

lngRow = 1: lngColumns = 5

With Cells(lngRow, 1)
.AutoFill .Resize(1, lngColumns)
End With
End Sub


--
Rob van Gelder - http://www.vangelder.co.nz/excel


greg said:
Is there a way to fill the cells in a row that start at a value in the
first cell of that row and end at a value in the second cell of that row?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top