LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 504
Default How do I use excel to create a unix script?

I do this a lot, if you just copy the cells and paste them it introduces a
space between where the cell dividers were.
If you have info in cell a1, a2 and a3 and want to put in into a unix file
or commande line then put a simple formula into cell a4 that says something
like:
"=a1&a2&a3" This will combine all of the info in a1,a2,a3 into one line of
text. You can then copy cell a4 into the unix window..

"Nanette" wrote:

Luke,

I have 3 columns of information

1is the command (modify) 2 the account to take action on 3 the attribute
being changed
m 6712945678
F104=99

I might have a thousand of the same rows, but #2 the account needs to
change. I make a text file and then post that file to the system. But when
I use excel spaces are present in my text file that I've ended up manually
removing.

Thanks for any help

"Luke Alcatel" wrote:

Nanette,
I'm not sure I understand the problem you are describing. If text in your
cells have unnecessary leading and trailing spaces why not just use trim()
in the VBA module that generates the Unix scripts? Again, maybe I don't
understand your explanation.

"Nanette" wrote in message
...
I'm trying to use excel to create some simple unix scripts. When ever I

set
up my data in excel I use copy and paste to put it into a text document.
Doing this introduces unnecessary spaces that I end up manually removing.
Any suggestions?






 
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
Script - Create New Worksheet Jeff C Excel Discussion (Misc queries) 6 May 17th 07 03:49 PM
How to create a script to trust an assembly - Excel 2003 - Office System Project with C# John Yung Excel Programming 8 October 6th 05 02:28 PM
Excel and Unix Question Jet Excel Worksheet Functions 0 March 22nd 05 11:58 AM
Excel 2000/XP script to Excel97 script hat Excel Programming 3 March 2nd 04 03:56 PM
Create an .xls file by script Mark Powell Excel Programming 0 August 14th 03 11:54 PM


All times are GMT +1. The time now is 09:43 PM.

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"