vba for copy and paste the formula from above cells auto fill

prabhakar_1504

New Member
Joined
Apr 9, 2023
Messages
2
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
this is the data that looks with

formula are in first row with data validation too rows form starts at B10: to P10 ends
but not getting the auto filled with the below rows

can you help me with vba coding

DateSIDProcessorQueueCFW/KANA Case IDAccount NumberBank NumberAmount in ($)Request TypeStatusCommentComment 2KESMITS (YES/NO)Verifier
4/9/2023E886872Prabhakar KE-Fax1Close OutProcessed
4/9/2023E870126Megha V RE-FaxClose OutMisdirectedCD Funded IAO $
Kana Case ID:
as per recons…..
for internal questions please contact the support line area @1 800-935-9935

 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Hello @prabhakar_1504

Why not use something like:

ActiveCell.Formula = "=B1+C1"

You can change the formula and you can change the range of where you want the formula to be.

Have you worked with the VBA Recoder before?
Do you have the Developer Tab showing in the Ribbon?

If the answers are YES then this should be a simple 5 minute work and you would have done the work yourself.

Let us know if you need any more help.

Montey
 
Upvote 0
Hello Monty,

i have just started learing on VBA, i have an excel work so, it's bit hard to me on it.
yes i do have developer tab on my ribbon

DateSIDProcessorQueueCFW/KANA Case IDAccount NumberBank NumberAmount in ($)Request TypeStatusCommentComment 2KESMITS (YES/NO)Verifier
4/9/2023E886872Prabhakar KE-Fax1Close OutProcessed
4/9/2023E870126Megha V RE-FaxClose OutMisdirectedCD Funded IAO $
Kana Case ID:
as per recons…..
for internal questions please contact the support line area @1 800-935-9935


on my excel SID has an xlookup formula based on name and same for comment 2 based datavalidatoin on request type

data validation columns are processor, queue, request type, status, comment

i want this formula & data validation for the entire row, this data will be saved on daily basis for the entire year.

below are coding made.
Sub AutofillFormula()
Dim LastRow As Long
LastRow = Cells(Rows.Count, "A").End(xlUp).Row
Range("B10:P10").AutoFill Destination:=Range("B11:P" & LastRow)
End Sub
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

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