Hi All,
I tried below code to delete a row in excel using userform
it doesn't work, need your kind assistance to correct the code.![]()
Please Login or Register to view this content.
thank you very much
Hi All,
I tried below code to delete a row in excel using userform
it doesn't work, need your kind assistance to correct the code.![]()
Please Login or Register to view this content.
thank you very much
OP ignored offer of assistance.
Last edited by Logit; 01-10-2019 at 09:49 PM.
"it doesn't work" is hardly descriptive of what happens.
Does nothing happen?
Does it error? If yes, what error?
Does it delete the wrong row?
Where and when do you assign a value to the variable currentrow?
Surround your VBA code with CODE tags e.g.;
[CODE]your VBA code here[/CODE]
The # button in the forum editor will apply CODE tags around your selected text.
See your example.
There is a working delete code.
Has also a look at the top of the code, the variables I declared.
Click the * Add Reputation below to say thanks.
![]()
Please Login or Register to view this content.
Glad to help.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks