How to erase a column VBA

J

Jepane

Hi,

Im trying to erase a column via VBA, this column is variable and depends on
the active cell,
Im trying this but obviously its not working:

ActiveSheet.Columns(ActiveCell).Delete

Any kinda help will be very appreciated

Thx

Jepane
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top