Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Import from mainframe

We have an automated mainframe process that sends a Lotus Notes email to the
users of our system. This email contains a link to a mainframe file so that
when the user clicks the link the file will open in Excel. An example of the
link
HTTP://SDCVM01.CGS.COM:82/~ITSWEB.10...,18,13,11,8,60
Where HTTP thru 102/ is the server ID, FLC is a mainframe command (we use VM
CMS), DIS.OPDICB34.SPREAD(0) is the data set name on the mainframe, and
&LENGTHS= describes the fixed width data by Excel column (first 3 characters
go to column 1, next 24 to col 2, next 24 to col 3, next 4 to col 4, etc.)
This process works quite well, but I would like to know if there is a way to
"pretty up" the resulting spreadsheet. Right now the users have to manually
adjust the column widths to see all the data, we have no control over fonts,
etc. Does anyone know of a way to supply more control information to Excel?

Thanks for your help.
--
Edd
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 145
Default Import from mainframe

Why do users have to adjust the column widths when

&LENGTHS= describes the fixed width data by Excel column (first 3

characters
go to column 1, next 24 to col 2, next 24 to col 3, next 4 to col 4, etc.)


"pretty up" the resulting spreadsheet


can be done if one can define what is the desired effect please

"Edd" wrote in message
...
We have an automated mainframe process that sends a Lotus Notes email to

the
users of our system. This email contains a link to a mainframe file so

that
when the user clicks the link the file will open in Excel. An example of

the
link:

HTTP://SDCVM01.CGS.COM:82/~ITSWEB.10...,18,13,11,8,60
Where HTTP thru 102/ is the server ID, FLC is a mainframe command (we use

VM
CMS), DIS.OPDICB34.SPREAD(0) is the data set name on the mainframe, and
&LENGTHS= describes the fixed width data by Excel column (first 3

characters
go to column 1, next 24 to col 2, next 24 to col 3, next 4 to col 4, etc.)
This process works quite well, but I would like to know if there is a way

to
"pretty up" the resulting spreadsheet. Right now the users have to

manually
adjust the column widths to see all the data, we have no control over

fonts,
etc. Does anyone know of a way to supply more control information to

Excel?

Thanks for your help.
--
Edd



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default Import from mainframe

you could at least run this to adjust the columns widths

Option Explicit
Dim lastcol As LongSub adj_col()
lastcol = Cells(1, 256).End(xlToLeft).Column
Range(Columns(1), Columns(lastcol)).EntireColumn.AutoFit
End Sub


--


Gary


"Edd" wrote in message
...
We have an automated mainframe process that sends a Lotus Notes email to
the
users of our system. This email contains a link to a mainframe file so
that
when the user clicks the link the file will open in Excel. An example of
the
link:
HTTP://SDCVM01.CGS.COM:82/~ITSWEB.10...,18,13,11,8,60
Where HTTP thru 102/ is the server ID, FLC is a mainframe command (we use
VM
CMS), DIS.OPDICB34.SPREAD(0) is the data set name on the mainframe, and
&LENGTHS= describes the fixed width data by Excel column (first 3
characters
go to column 1, next 24 to col 2, next 24 to col 3, next 4 to col 4, etc.)
This process works quite well, but I would like to know if there is a way
to
"pretty up" the resulting spreadsheet. Right now the users have to
manually
adjust the column widths to see all the data, we have no control over
fonts,
etc. Does anyone know of a way to supply more control information to
Excel?

Thanks for your help.
--
Edd



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Import from mainframe

Because Excel defaults to a standard column width when displaying the data,
forcing the users to manually adjust the column widths to see all of the
data. The &LENGTHS= option allows Excel to put the correct data in the
correct columns with the correct length, but it doesn't DISPLAY the correct
length.

Thanks for your interest in this issue.
--
Edd


"PY & Associates" wrote:

Why do users have to adjust the column widths when

&LENGTHS= describes the fixed width data by Excel column (first 3

characters
go to column 1, next 24 to col 2, next 24 to col 3, next 4 to col 4, etc.)


"pretty up" the resulting spreadsheet


can be done if one can define what is the desired effect please

"Edd" wrote in message
...
We have an automated mainframe process that sends a Lotus Notes email to

the
users of our system. This email contains a link to a mainframe file so

that
when the user clicks the link the file will open in Excel. An example of

the
link:

HTTP://SDCVM01.CGS.COM:82/~ITSWEB.10...,18,13,11,8,60
Where HTTP thru 102/ is the server ID, FLC is a mainframe command (we use

VM
CMS), DIS.OPDICB34.SPREAD(0) is the data set name on the mainframe, and
&LENGTHS= describes the fixed width data by Excel column (first 3

characters
go to column 1, next 24 to col 2, next 24 to col 3, next 4 to col 4, etc.)
This process works quite well, but I would like to know if there is a way

to
"pretty up" the resulting spreadsheet. Right now the users have to

manually
adjust the column widths to see all the data, we have no control over

fonts,
etc. Does anyone know of a way to supply more control information to

Excel?

Thanks for your help.
--
Edd




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mainframe Tech Blog [email protected] Excel Discussion (Misc queries) 0 April 5th 08 12:07 PM
mainframe file to excel spreadsheet Dave Cox Excel Worksheet Functions 5 April 26th 07 01:01 PM
How to transfer a mainframe file to excel sesh Links and Linking in Excel 4 May 2nd 05 08:19 PM
How to transfer a mainframe file to excel sesh Excel Discussion (Misc queries) 1 April 21st 05 01:18 PM
Need to save file for mainframe Rick Excel Discussion (Misc queries) 2 February 15th 05 10:49 PM


All times are GMT +1. The time now is 01:45 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"