text variable

  1. E

    VBA syntax to insert a formula to link to another worksheet cell

    trying to insert a formula to link a cell to another worksheet in my workbook, which I I’m have assigned a text variable “Sheet_Name”. This is the code I have written……………….. Range("F13").Select ActiveCell.FormulaR1C1 = "=’" & Sheet_Name & "'!D13" This is the result I get which produces...
  2. KG Old Wolf

    .FormulaR1C1 with variable

    Goal: use "If" formula in R1C1 to evaluate cell contents; if "true" use Variable, if "false" use Constant Issue: Constant works fine in all code snippets. Variable works fine when a number (Work_2) but FAILS when text (Work_1). Following are 3 different approaches I've tried to no avail. I've...

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