Hi,
I want to delete one column.
Generaly It could be done like:
Columns("AY:AY").Select
Selection.Delete Shift:=xlToLeft
But how to do it in "With...."
With sourceWb.Sheets("Sheet1")
.Range("A1:B6").EntireRow.Delete
LastRow = .Range("CW65536").End(xlUp).Row
'....delete...
Hi all, struggling with concept of looping so could really do with your help
My problem is this
In one workbook I have a list (indeterminate number) of values which have been data sorted to group duplicates together.
Eg
JC000
JC001
JC001
JC001
JC002
JC002
In another workbook I hold a full...
I'm using code from the VBA & Macros for Excel 2007 book and pg 255 to populate a userform using an advanced filter to get a unique list. The code hangs up at the line: "With.Me.lbCust". I'm getting an error "Message or Data Member not found". What am I missing?
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.