lcount

  1. B

    Navigate to Selected Worksheet via Ribbon Drop-Down

    I have the following code which seemed to be working fine, and now all the sudden isn't working. It's a dropdown box built into the ribbon, and when selected, calls the following code: Option ExplicitDim Rib As IRibbonUI Private mwkbNavigation As Workbook Sub getItemCount(control As...
  2. F

    Close a workbook, prompt to save, then save workbook and Excel

    I’ve noticed many people trying to find code that on closing a workbook will prompt to save (if changes were made) and then close the workbook and close Excel. The following code should do the trick. Place this code in a module and link to a command button or shape Sub CloseWkBk()...
  3. R

    VBA Code To Return Formula To A Cell

    Good Afternoon, I have the following bit of code which gets the correct values from each tab in the workbook and puts that value in the correct cell. However, instead of this value e.g. 123,456 I would like to return a formula that says e.g. =Sheet2!C10, or =Sheet2!C50 as the case may be. In...
  4. R

    Changing msgbox

    Hello everyone, I have a data in excel and I want to create a macro which will count for me the number of cells in the column which contains a specified value and I want to paste the count of that cells next to that data in excel. Right now I'm using this code: Dim lCount As Long...

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