c.offset1

  1. C

    VBA .Paste Methods

    Frequently when I write code such as the following... Sheets("Sheet2").Range("A2").Paste I get runtime error 438 "object doesn't support this property or method" I usually just change it to .PasteSpecial or try another way of pasting and work it out. However, I have never understood why...
  2. C

    Rewrite: c.EntireRow.Copy AND c.Offset(1, 0).EntireRow.Copy

    This is probably a stupid question... While looping through column A, if a certain condition is met, I would like to copy the active row, and the row below it. c.EntireRow.Copy AND c.Offset(1, 0).EntireRow.Copy What is the best way to write this?
  3. J

    Putting a text only if nothing follows to a specific word using VBA Excel

    https://ibb.co/gqQ2Ow Please see my captured result of the code I came up, I want the results to be just the second encircled one. I don't need to add epoxy if there is already a word after trimform which is like the first encirled one. Pls help me. TIA! :smile...
  4. J

    Putting a text after a specific cell

    Hi! please help me to figure out on how to put a text if only nothing follows to the word "TRIMFORM". below is the code that I used. Thanks in advance :) Sub try() Dim c As Range For Each c In Range("D2:D429") If c.Value Like "*TRIMFORM*" Then c.Offset(1, 0).EntireRow.Insert c.Offset(1...

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