I hope this snippit of my code below is enough to isolate the problem I'm having
If wpe > 0 Then
With ws_data
If .FilterMode And Not .AutoFilterMode Then
.ShowAllData
End If...
I am having difficulty finding the column number based on the following VBA formula ...
nlncol = ws_data.Range("A" & dlnrow & ":HO" & dlnrow).Find(What:=entl, LookIn:=xlValues, LookAt:=xlWhole, SearchOrder:=xlByColumns, SearchDirection:=xlNext, MatchCase:=False).Column
I'm getting an "Object...
I have a worksheet object defined as a worksheet ...
Dim ws_data as worksheet
Can anyone suggest a way to check to see is ws_data has been previously set.
I am getting an "Object variable or With block variable not set" error when my code reaches a point where ws_data isn't set.
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.