i am getting this error run time error '91':
object variable or with block variable not set
please let me know
Please Login or Register to view this content.
i am getting this error run time error '91':
object variable or with block variable not set
please let me know
Please Login or Register to view this content.
Do you need an End With for each With?
One test is worth a thousand opinions.
Click the * Add Reputation below to say thanks.
also given the end with
but still showing an error
Do you use this in Worksheet_change or something else?
You attempted to use an object variable that isn't yet referencing a valid object.
You should declare it something like:
but you show only part of the code so it's hard to say.Please Login or Register to view this content.
yes i have used this code in the Private Sub Worksheet_Change(ByVal Target As Range)
but it is not letting me to run other macro code in the sheet
see this my whole code
Please Login or Register to view this content.
it's not declared when you step into other macro
let me know how can i declared because whenever i run the macro code it crashs down
it showing errors
like method_undo
try to useinstead ofPlease Login or Register to view this content.
Please Login or Register to view this content.
tried this but i am getting an error here
Run time error '1004'
Method 'undo of object_ Application failed
Application.Undo -----------error in this line
This method undoes only the last action taken by the user before running the macro, and it must be the first line in the macro.
It cannot be used to undo Visual Basic commands.
let me other can i
i used to download data from database
i then going to edit
make that undo
that it should allow user to edit if they
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks