I am copying a table with 12-columns x 140 rows from a web page to excel
(everyday)
Upon pasting, 10 columns appear in a row and remaining two columns shift to
beginning of next row. Now I get a table with 10 columns and 240 (2x140)
rows
I have to cut and paste these two cells manually.
I tried different ways to paste clearly in one raw but I couldn't so I think
I have to look for a sort of automizing method for cut and paste.
I am very novice with macro so I wrote a macro to do this. In start of
writing the macro, I choose two cells Range("A29:B29").Select
and continue but whenever I want to run this macro for a new row, it always
perform it on the same row ("A29:B29").
How can I automize this cut and paste procedure. Namely I have two distinct
issue
First: How can make a range variable in a macro
Second: I there any better approach other than wriiting a macro for sovling
above issue (returning two cells to end of previous row)
Thanks for your input in advance.