-1

I know there are ways that I can manually autosize the column width (select all and then click on any column end, format> autosize etc) but i want to autosize the column width based on the data that i paste.

Rushabh Shah
  • 405
  • 1
  • 6
  • 16

1 Answers1

0

I believe your question has been answered HERE

TLDR;

Columns("A:B").Select

Selection.EntireColumn.AutoFit

and use the Worksheet_Change event

Jax297
  • 617
  • 1
  • 6
  • 8