Hi all,
Apologies for making my first post on here a request for help - I have been trying to tweak a VBA code to get the result I am after, however failing miserably.
I've got an Excel file that I am using to calculate some approximations for anisotropic material data for use with FEA. All of the data lies on Sheet1. The data that I want to export starts on row 30, and ends on row 33.
The actual cells that I want exporting are:
A30
A31-H31
A32-H32
A33-E33
I need the output seperated by commas. My current code is below (taken off the net):
Current problems:Please Login or Register to view this content.
1. Exports the whole sheet, including data above/below the section I want to export.
2. Exports blank cells (ie. B30-H31 and G33-H33) and prints ", , ," to .txt file.
3. I dont really want to offer the user the option of choosing a seperator - Ideally I would like it to be fixed as a comma but still offer the option of choosing file name and location.
The text file needs to be exported in the same 'order' as the cells are on the sheet (ie. A30, <new line>A31-H31,<new line>A32-H32,<New line>,A32-F32.)
Any help would be much appreciated!
Kind regards
Tom
Bookmarks