.cells1

  1. D

    Excel 365 pulling a common thread from 3 worksheets and various data from match

    They keep pulling me back in! :) The sheets now need to parse from a 3rd database draw that is dumped into a worksheet in the workbook. A match of ZMB will generate > 1 response since ZMB gives Serial numbers to be added to the lot, and that works. Issue is it takes >25 minutes to run the...
  2. R

    AutoFill Across Columns

    Hard to believe I am here for this, but.... here I am Just trying to AutoFill xlFillSeries from Column A to LastColumn Here is where I'm at (I think I'm close?) Application.ScreenUpdating = False With Sheet1 Lc = .Cells(1, .Columns.Count).End(xlToLeft).Column...
  3. V

    insert a column after last column with data

    I want to insert a new column (with the name) after last column with data. i tried using the below code by writing it in VBA module, however it does not work. [ Sub add_column() Dim LastRow As Long Dim LastCol As Long Dim iRow As Long Set ws = Sheet1 ' NOTE: Change this if...
  4. C

    VBA Form to search for records then edit

    Hi all, I'm no expert at VBA, so I've hit a brick wall with this. Here is my code below. The problem I have is when I try to update the fields in the userform, line 25 of buttUpdate_Click causes an "object required" error and I just can't get my head round it Private Sub UserForm_Click()...
  5. H

    Macro to ignore sheet "Sumkmary"

    I have the following codes which creates an index I would like "back to Index" hyperlink not to be inserted on sheet Summary" Your assistance is most appreciated Private Sub Worksheet_Activate() Dim wSheet As Worksheet Dim M As Long M = 1 With Me .Columns(1).ClearContents...
  6. G

    filtered data showing on listbox - userform

    Hi, i am trying to figure out why the following code doesnt show only filtered data on the listbox. Can someone help me please? Dim rData As Range With Blad1 Set rData = .Range(.Cells(1, 1), .Cells(.Rows.Count, 5).End(xlUp)) If Not .AutoFilterMode Then .Cells(1, 1).AutoFilter...
  7. V

    VBA Vlookup only if cell in blank

    Hello all I am trying to do the following If the cell range "K" is blank complete a Vlookup If the cell range "K" has data in do not perform a Vlookup so that the data remains in the cell, any help on this would be great please. With Range("K1:K" & LastRow) .FormulaR1C1 =...
  8. U

    Place commandbuttons in a specific cell

    Say row 1 height is 60 and button height is 30 CommandButton 1 in cell BP1 at the top (BP is column 68) CommandButton 2 in cell BP1 below Button 1 .OLEObjects("Commandbutton1").Top = .Cells(1, 68).Top ' place in top of cell .OLEObjects("Commandbutton1").Left =...
  9. R

    Submitted Data from a Userform is not Posting to a ListBox

    My workbook uses userforms to create a new row in a three different table on three different worksheet in the same workbook. I have a listbox (LB_01) on the userform, but am not sure how to get the new data submitted from the userform to post in the listbox since I am using one userform to...
  10. R

    Conditional Formatting not being copied when new row is added to a table

    I have some code that creates a new line in 3 different tables on three different worksheets in a workbook when data submitted through a user-form. All of the formulae are copied from the line above and all of the data from the user-form writes to the correct locations, but I have a total of 5...
  11. B

    Add Worksheets if Does Not Exist

    Have been searching How to add worksheets if does not exist and then add totals to Column B. Not sure How to execute the top portion of the code. thank you Sub TotalEachWorksheet() Grandtotal = 0 Worksheets.Add ActiveSheet.Name = "Summary" Worksheets.Add ActiveSheet.Name =...
  12. A

    write userform data to Excel WS

    Greetings all. I will appreciate some help with the following code. I am new to this world and am eager to learn. I am trying to move data from a user form(frmData) to Excel, and have come across the following code. But it does not work. can anyone tell me what is wrong? Sub cmdAdd_Click()...
  13. N

    Compile Error: Invalid qualifier

    My code is : Sub Calculating() Dim header As String With header.Range("A1") = "Name" .Cells(1, "B") = "Class" .Cells(1, "C") = "Subject" .Cells(1, "D") = Range("d1") = "Marks Secured" The above code is causing to throw error as...
  14. T

    Code Skipping

    Hello, I have this piece of code that I am using to format a worksheet to later be used as a comparison template for another worksheet. Sub Comparison_Formatting() Dim LR As Long, _ i As Long LR = Sheets(1).Range("A" & Rows.Count).End(xlUp).Row With Application .ScreenUpdating =...

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