Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default VBA Code/Formula to generate list of rows

Hi everyone,

I need to define a loan repayment schedule using PMT, IPMT and PPMT
functions which i fully understand. However, based on the number of
installments I need to define the corresponding number rows with the
sequential numbers.

Can anyone help me on his issue
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,069
Default VBA Code/Formula to generate list of rows

Have a look at this site:
http://www.vertex42.com/ExcelTemplat...alculator.html
--
JB


"WINS" wrote:

Hi everyone,

I need to define a loan repayment schedule using PMT, IPMT and PPMT
functions which i fully understand. However, based on the number of
installments I need to define the corresponding number rows with the
sequential numbers.

Can anyone help me on his issue

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default VBA Code/Formula to generate list of rows

I am not sure exactly what you are looking for, but you can modifiy this code
to enumerate the rows in Column A. This sample only fills 20 rows but if you
know how many lines you will need you simply change the cell A20 to a lesser
or greater number, of if you want to use a different column, change the A to
another letter.
You can also change the sheet name or index to suit.

Sub mbrfill()
Range("A1") = 1
Range("A2") = 2
Set SourceRange = Worksheets("Sheet1").Range("A1:A2")
Set fillRange = Worksheets("Sheet1").Range("A1:A20")
SourceRange.AutoFill Destination:=fillRange
End Sub


"WINS" wrote:

Hi everyone,

I need to define a loan repayment schedule using PMT, IPMT and PPMT
functions which i fully understand. However, based on the number of
installments I need to define the corresponding number rows with the
sequential numbers.

Can anyone help me on his issue

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How generate new list in another worksheet from existing list? NSF Excel Worksheet Functions 0 September 24th 08 01:08 PM
Generate list dvya Excel Worksheet Functions 3 July 23rd 08 07:46 PM
How to generate code from VBA and... run it ! Pierre Archambault Excel Programming 3 August 7th 07 09:38 PM
How to generate Bar Code by Microsoft Excel king kwong Excel Programming 4 June 5th 07 08:00 PM
Generate 1-to-1 outputs for a list of inputs into a excel formula JBollinger1234 Excel Discussion (Misc queries) 1 May 11th 06 01:02 PM


All times are GMT +1. The time now is 06:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"