Attachmate Reflections to Excel

MrTheFourth

New Member
Joined
Feb 12, 2015
Messages
1
This is all fairly new to me, so be gentle. I'm using Attachmate Reflection for Unix and OpenVMS, which is capable of using VBA to automate interactions with a host of other applications. I'm trying to put together a macro to run from Reflection which will result in an orderly spreadsheet list containing 5 columns and hundreds of rows. What I'm trying to make that list from is a report which contains numerous lines which all begin with a series of 4 numbers, as well as some junk to be left out which does not begin with numerals. Each line is 65 characters long, and I need characters 0-3 in cell 1, char 6-30 in cell 2, 31-40 in cell 3, 45-54 in cell 4, and 59-61 in cell 5, repeated for hundreds of lines. This macro would be run numerous times using the same output file, so it would be preferable for duplicate entries to not be appended.

Presently, I am using Reflections logging function to export the reports to .txt files, and then having Excel import the data. This is not desireable however, as I need the macro entirely contained within Reflection to be able to easily share it with many coworkers. Thank you in advance for any help you can provide.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Forum statistics

Threads
1,223,236
Messages
6,170,915
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top