docyearname

  1. D

    Correct syntax for row colour

    I have some code that copies data to other sheets depending on various options that are selected. This is part of my code that is working: Select Case tblrow.Range.Cells(1, 6).Value Case "Yir" DocYearName = tblrow.Range.Cells(1...
  2. D

    Need row colour to be purple if a value is in a cell for each row

    I have a spreadsheet that copies rows from a table to separate documents depending on several factors. This is the code from my copy button. Sub cmdCopy() Dim wsDst As Worksheet, wsSrc As Worksheet, tblrow As ListRow Dim Combo As String, sht As Worksheet, tbl As ListObject...
  3. D

    I need an alternative to a if statement

    I have some code that is meant to copy rows in a spreadsheet depending on the value of the cell in column F for that row. I need to be able to distinguish between having the value to be Ang Wes or Ang Riv. At the moment, regardless of the value, it will always default to Ang Riv but I need...
  4. D

    VBA syntax to repair corrupted file

    I need some help with some vba syntax. I have part of a procedure that opens another workbook, performs some actions then closes it. This is the code I have: Workbooks.Open (ThisWorkbook.Path & "\" & DocYearName) All the workbooks are stored in the same folder and the variable DocYearName...
  5. D

    VBA to copy rows

    I have some code that copies rows from a table to a sheet in a workbook according to the date of the row. 2 rows in the table copy to 29 rows in the appropriate workbook and I have no idea why, can someone help me please? Here is the copy code: Sub cmdCopy() With Application...
  6. D

    Opening and closing workbooks using vba

    I have a tool to calculate quotes which is in a table and can have x number of rows. Once the quote is made, I have a button to copy each row to a costing tool, which is just another sheet. Once this is done, further details can be added to the quote to finalise it. I then select a button to...

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