code name

  1. G

    Copying data across workbooks

    Good day. I am opening an older version of the same document, copying some data from it, and adding it to the new document. I would like to use the sheet code name in the following line but when I do it comes back blank. What updates can I make? If I use the sheet position then this works but...
  2. V

    'Name' of object '_VBComponent' failed

    Trying to use sheet code names instead of sheet names, in case users change the sheet name, and the below returns the error "'Name' of object '_VBComponent' failed". Test2.Delete Worksheets.Add ws_name = ActiveSheet.Name...
  3. M

    Sheet Names and Code Names

    I am trying to write a function that takes a cell's value, for example A1 = Sheet1, which is the codename of Sheet1, and return the worksheet name (which appears on the tab). So in Microsoft Excel Objects you have Sheet1 (HelloWorld) In cell A1 is the value Sheet1 In cell A2 I to write a...
  4. I

    Copy Paste using Sheet Code Name

    Dear All, I am trying to have a simple copy paste code, using the line below while wbc & wbs different workbooks and Sheet1 is the code name of the target worksheet; wbc.Sheet1.Range("d4").Value = wbs.Sheet1.Range("d4").Value This above line is not working, however the one below, which...

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