object variable error

  1. A

    Object variable or With block variable not set-MAC issue

    I get the following error "Object variable or With block variable not set" when I run the below code on a MAC however on a windows PC it works fine Option Explicit Sub create_and_email_pdf() Dim EmailSubject As String, EmailSignature As String Dim CurrentMonth As String, DestFolder As...
  2. szita2000

    VBA - Help on Object Variable or With block variable not set

    Hi guys. I can't make this error to go away. Basically it is part of a loop where first we find a separate table in the bottom of a crystal style report, then we look in the shortened range (ErrorMachinerng) I get an Object Variable or With block variable not set error on the NumberOfStops =...
  3. J

    Object Variable or With block variable not set error in VBA

    Hello. I am relatively new tocoding and have a problem. I have created a script that pulls data from multiple sheets into one sheet and adds the name of the original file (“Widget#”). I’m trying to copy and fill the empty cells with the file name as I will be creating a pivot table. I added...
  4. H

    Object variable not set error

    HI There, I am trying the below code to use a dynamic range for lastfillrange in a combobox. It gives an error of Object variable not set dont know what happened!! Can anyone help? Private Sub ComboBox1_Change() Dim lastrow As Long Dim dyrange As Range lastrow =...

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