column count

  1. D

    Copy & Paste to the next empy cell. (Vba Code not Working)

    I created a macro button to copy a cell and paste value in another sheet but it just replaces the value in the same cell on the other sheet. I need it to count the columns and continue to paste the value in the next cell to the right. The code below is what i currently using to make it happen...
  2. S

    How to count rows in a column whos 1st 6 character contain

    Hi, How do you count rows in a column that contain 2205, 3959 or 3858 only if the first 4 digits are one of this three numbers? The column contains either 13 or 15 character numbers. But, each number is preceded by =" and ends with ". Two example cells: A2 and A3 ="3959506134974"...
  3. R

    Find last of multiple entries

    Do While ia < 16383 'limited to how many columns are available to be populated ActiveCell.Offset(0, 1).Select 'shift cell to seach If ActiveCell.Value = SN Then ia = ia + 1 'counter for columns Do While ib < 13...
  4. gemcgraw

    ComboBox and multiple columns matching

    Per se.... ComboBox1 is set looking at columns A & B on Sheet1, with a boundColumn = 1; ColumnCount = 2. I am working with the situation where column A can have duplicates, but its corresponding Col-B is a different value. When the user drop-selects Room (Col-A) "119" with Printer (Col-B)...
  5. A

    Problem with formatting in code - column pasting

    See code below. Sub runallmacros() Dim wbSource As Workbook Dim wsDest As Worksheet Dim row As Integer, os As Integer Set wsDest = ThisWorkbook.Worksheets("File Copier") row = 2 os = 0 With wsDest Do While .Range("K" & row).Value <> ""...
  6. X

    VBA: Input new data to another datatable.

    Hi, All, I'm trying to edit a macro that allows me to copy data from "Input" sheet and send it to the "Data" sheet. As for now, the code copies A3:A5 in "Input", and pastes to the empty rows. Now, I'd like to change the row count to column count as copying A3:D3 in "Input", and carrying them...
  7. U

    How many columns in a merged range

    I need to find the column after a merged range but I cannot find the right command. I thought this would work: Cells(RowFnd, y).Columns.Count but it is giving me 1 when it should be give me 5 as J through N are merged on row 65.
  8. L

    Counting Sequence occurences within text strings in a column (Impossible?)

    I am racking my brain on this problem, and I can’t help but think there must be a better solution. I am trying to create a formula that counts the number of facilities that have findings in each of the areas (There are 80+ areas) :confused::banghead::help: I am trying to put together an excel...
  9. T

    Autofill for dynamic range

    Hi. My problem seems simple but I'm having a lot of difficulty getting my Macro to work properly. I have a sheet with a Column (A) of Dates and a Row (1) of Column Headers. Count of dates and Column headers change every day. I'm placing a lookup formula in B2 and I'd like it to do two...
  10. S

    Pivot table row and column count

    Hi, I am trying to write a macro to get the number of rows and columns in a pivot table and then transfer that macro into Delphi. I can interact with pivottables using say NoColsSFInPivot1 := Excel.ActiveSheet.PivotTablesPivotTableName).datafields.count; which counts the datafields in...
  11. J

    Check Column For Data

    Hi All, I have the following script which deletes columns if the column count is empty. Can someone please modify the script so that if the column has data but cell 1 of the column is empty then it will put the name "Location" in cell 1 of the column. If the column count is 0 then it would...

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