lastrow1.value

  1. Z

    Filename.XLSM works but not Personal.xlsb

    This is beginning part of a macro that worked fine in a xlsm file. To share the code saved it as a Personal Macro. Problem is it fails at the 3rd line. Line1 worked fine, so sheet is there. Run-time Error 9 subscript out of range error ActiveSheet.Name = "Not Quoted" Dim wsSummary As Worksheet...
  2. Z

    Use File Obtained From GetOpenFileName

    Just added the top part of code to select file instead of having it hard coded. How do I go about adjusting the 2nd part so I can use it instead of the hard coded file. ChDrive "c:" NewFN = Application.GetOpenFilename(FileFilter:="Excel Files (*.xlsx), *.xlsx", Title:="Please select a file") If...
  3. P

    Using Listbox selection to name worksheet

    Hi All I'm hoping this is simple. I have a userform that I want to copy data from to two worksheets. The first worksheet if fixes, the second worksheet is chosen from a userform list box selection. The listbox is populated with the names of the worksheets automatically so I know the sheet...

Watch MrExcel Video

This Week's Hot Topics

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
Top