justinojanson
New Member
- Joined
- Dec 22, 2015
- Messages
- 3
Hi there..
This is my first post here... I have been using this forum a lot and find it extremely useful, hence I decided to register...
Anyways, down to business... I am creating a macro for a project and have got to the point where I have been able to sort data in column "A" according to my criteria, but have run into difficulties with below code:
Basically, it does select all cells with data in the filtered column, but for whatever reason "FillRight" does not work...
Any advice?
Thanks in advance,
Justin
This is my first post here... I have been using this forum a lot and find it extremely useful, hence I decided to register...
Anyways, down to business... I am creating a macro for a project and have got to the point where I have been able to sort data in column "A" according to my criteria, but have run into difficulties with below code:
Code:
Sheets(1).Range("A2:A" & Sheets(1).Range("A" & Rows.Count).End(xlUp).Row).SpecialCells(xlCellTypeVisible).Select
Selection.FillRight
Basically, it does select all cells with data in the filtered column, but for whatever reason "FillRight" does not work...
Any advice?
Thanks in advance,
Justin