looping formulas

  1. Y

    VBA: Looping Formula

    Hi, I have the following code Sub formula() Dim LastRow As Long With ActiveSheet LR = .Cells(.Rows.Count, "A").End(xlUp).Row End With Dim LastCol As Integer With ActiveSheet LC = .Cells(1, .Columns.Count).End(xlToLeft).Column End With...
  2. CsJHUN

    Optimalization

    Hi guys! I wrote this, and got some useful info from here(i guess :) ) now I would like to ask you to give me any optimalization ideas (shortening the code, or runtime) The task for this macro are: let user select files via "Open" window open/close each file copy and paste selected datas below...
  3. M

    excel formula optimization help request

    Hello all, windows 7sp1 64 bit (8gb ram, i7 dual core proc) with excel 64 bit (64 bit is needed for larger calculations). I need some help with the below formula and how to make it smaller or faster using loops. I am good with powershell, just not excel :) Thank you for your time and help...
  4. L

    Simplify Code by loopnig, possible?

    So my code is working great, but looking at my code I can't help but think that there must be an easier way to loop through the script so it isn't so repetitive. Any thoughts? Sub Macro1() Dim ActSheet As Worksheet Dim JUNCTION As String Dim BOC As String Dim Amount As String...
  5. N

    Loop formula for Dynamic range

    have this data on a spreadsheet which I format with a recorded macro but Both the rows and columns change frequently everyday and the macro only works for the cells I recorded . How Do I create a dynamic range and loop the formula to customize the newer and additional rows and columns i.e add...

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