selection.offset0

  1. J

    Trying to Avoid Select, Selection, ActiveCell

    Hello: I'm trying to avoid using the Select method, so I'm trying ActiveCell. But I've heard I should try to avoid using ActiveCell as well. :confused: Any ideas on firming up this code? Here's what I have: Using Select Range(Selection.End(xlToRight), Selection.Offset(0, 7)).Select...
  2. R

    Loop not working/crashing

    Hello everyone! I am a pretty beginner vba user and having some trouble getting a loop to work. I have a pretty extensive formatting code here, which works perfectly on a single worksheet. When I then try to have it loop through every single worksheet in the workbook except for the "Original"...
  3. V

    Using a variable to select a range excluding one cell.

    Hi I have been trying to write some code which checks if a cell is empty, if the cell is empty it moves the data from that row and the next 2 columns down a row. The problem I have is that the second column contains the address of a linked cell, hence I need to check if the address is still...
  4. R

    Set Multiple Pivot Filters By Cell Value

    Hi, I'm wanting to set a pivot table to filter the results according to values set by which ever cell is selected in the main worksheet. There are three cell ranges which if selected will give differing results. Within the pivot table itself there are four fields which could be filtered but...
  5. R

    Multiple Pivot Filters Set By Cell Value

    Hi, Bit of a novice here working in the dark but I'm trying to set four pivot filter values in a single Pivot Table to what are changing cell values based on the cell that is selected in the work sheet. My code is below and I get the error message "Run Time Error '1004' Application-defined or...
  6. S

    Why are my variables not being recognized?

    Greetings, I have a relatively simple script. I assign a variant variable using worksheet inputs like: b = ActiveWorkbook.Worksheets("WorksheetName").Range("B10").Value Later in the script I attempt to use the value of b: Selection.Offset(0,1).Value = b When I check the related sheets I am...
  7. H

    convert string with a decimal to a string with a exponential

    Hello I would like to convert a string with a decimal value >100.00000, which are in units of µM to a string with an exponential value, > 1.00E-04. For example: <colgroup><col></colgroup><tbody> >100.000000 >100.000000 >100.000000 >100.000000 >100.000000 >100.000000 >100.000000...

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