Auto populate row data with some new values VBA code require

N Prakash

Active Member
Joined
Nov 7, 2003
Messages
409
Hi,

After a gap of few years, I have become active in a new job. I have lost touch to some extent that is the reason I need help from some experts.

I am entering a data in a row having column labels SL No., date, Text, Instrument number, amount. In another cell I mention the counter 1 to 90 and frequency ‘ daily, weekly, monthly, etc.

Depending on the counter the data should get populated with incrementing the Sl. No, and date should get incremented by frequency. The text will be same and Instrument number should get incremented by 1. And amount will be the same.

Can any one help me in giving a VBA code. I searched the forum for the same and I could not place my hand on any similar requirement.
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Test POSTDATED.xlsx
ABCDEFGHIJKLMNO
1Customer NoxxxxDaily
2Customer NamexxxxI will give a button by clicking on that 20 rows should get populatedWeekly
3Number of Checks20Sl No should increment by 1Monthly
4Total amount of Paymentdate should increment as per frequencyHalf Yearly
5Frequency Quarterly once in 3 monthsWeeklyName is constantYearly
6Ch No increments by 1
7Amount is constant
8
9
10Sl NoDateNameCh NoAmountStatus
11112/9/2022ABCD9876510000
12
Test
Cells with Data Validation
CellAllowCriteria
B5List=$O$1:$O$5
 
Upvote 0

Forum statistics

Threads
1,215,767
Messages
6,126,773
Members
449,336
Latest member
p17tootie

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top