I pull data off of a database and manually enter it into an Excel report template.
I want with VBA code to lookup an exported closed Excel file (Test.xls
) with data (example in cells B1:B21
).
The data in the cells B1:B21
have spaces between each line. So vertically a column would be like the following
Data1
Space
Space
Data2
....
I want this with exception of the spaces to be put into the Excel report file, and displayed horizontally (A10:"Data1"
,B10:"Data2"
,C10:"data3"
...) instead of vertically.
I cannot pull data directly from the database to the Excel template for security reasons.