.cellslr

  1. H

    Need help on VBA Excel to copy paste value

    Hi, i had a code. How to copy paste value? Application.ScreenUpdating = False With Sheets("path") 'Source worksheet name Set DestSh = Sheets("FileCopy") 'Destination worksheet name lr = .Cells.Find("*", , xlValues, , xlByRows, xlPrevious).Row...
  2. R

    Paste Special Values

    Is there any way to make this vba code paste special ? Sub MoveCols() Dim lr As Long Application.ScreenUpdating = False With Sheets("Insert Data here") lr = .Cells.Find("*", , xlValues, , xlByRows, xlPrevious).Row .Range(.Cells(2, "A"), .Cells(lr, "A")).Copy...
  3. F

    Multiple Private Sub

    Hello, im VBA newb. Please how could I combine this two sub? Private Sub Worksheet_Change(ByVal Target As Range) Dim rInt As Range Dim rCell As Range Dim tCell As Range Set rInt = Intersect(Target, Range("AE:AE")) If Not rInt Is Nothing Then For Each rCell In rInt...
  4. F

    VBA audit trail - modifications

    Hello, pleas, how I could exclude changes of blank value? I no need log, when emty cell is changed. Thank you! Dim PreviousValues As Variant Private Sub Worksheet_SelectionChange(ByVal Target As Range) 'Store current values of all cells Application.EnableEvents = True...
  5. C

    Array Selection from Closed Workbook

    I have a formula that selects an array and then pastes into a database on another worksheet. Is there a way that the array selection can be from a closed workbook, and then paste the data into the database on my open workbook? This is my code currently: Sub CopyData09() Dim lr As Long, i...
  6. F

    Change Log Tracking

    Hi all. Thank you, in advance, for your help. I found this code to track any changes made to each tab. I have a table in columns A-AV (different rows for each tab, depending on the data). Is there anyway to update this code to not track when rows are inserted? Additionally, how would I write...

Some videos you may like

This Week's Hot Topics

  • Sort code advice please
    Hi, I have the code below which im trying to edit but getting a little stuck. This was the original code which worked fine,columns A-F would sort...
  • SUMPRODUCT with nested If statement
    Hi everyone, Hope you're all well. I'm hoping someone will be able to point me in the right direction with a problem I'm having with a SUMPRODUCT...
  • VBA - simple sort is killing me!
    Hello all! This should be so easy, but not for me, apparently! I have a table of data that can be of varying lengths and widths. My current macro...
  • Compare Two Lists
    I have two Lists and I need to be able to Identify differences between them. List 100 comes from a workbook - the other is downloaded form the...
  • Formula that deducts points for each code I input.
    I am trying to create a formula that will have each student in my class start at 100 points and then for each code that I enter (PP for Poor...
  • Conditional formatting formula required for day of week and a value
    Hi, I have a really simple spreadsheet where column A is the date, column B is the activity total shown as a number and column C states the day of...
Top