Have macro select range but exclude empty columns
Closed
Pluggie
Posts
11
Registration date
Monday March 11, 2013
Status
Member
Last seen
August 14, 2013
-
Jun 7, 2013 at 05:30 AM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - Jun 10, 2013 at 12:16 PM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - Jun 10, 2013 at 12:16 PM
Related:
- Have macro select range but exclude empty columns
- Vba select case like - Guide
- Display two columns in data validation list but return only one - Guide
- Spell number in excel without macro - Guide
- Reboot and select proper boot device - Laptop Forum
- Insert a new sheet at the end of the tab names and paste the range names starting in cell a1. autofit columns a:b and name the worksheet as range names. ✓ - Excel Forum
1 response
TrowaD
Posts
2921
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
December 27, 2022
552
Jun 10, 2013 at 12:16 PM
Jun 10, 2013 at 12:16 PM
Hi Pluggie,
Seems to me that the function RangetoHTML needs a single range. Removing a column from your range would leave you with 2 ranges.
Maybe it's an idea to cut away empty columns, run the code, and paste the columns back in or reload your file.
Those actions could also be put in the code you are using.
Met vriendelijke groet,
Trowa
Seems to me that the function RangetoHTML needs a single range. Removing a column from your range would leave you with 2 ranges.
Maybe it's an idea to cut away empty columns, run the code, and paste the columns back in or reload your file.
Those actions could also be put in the code you are using.
Met vriendelijke groet,
Trowa