Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Writing Macros

Need some help. I've just started writing macros and this is over my head.
I have data that I need to reformat and place in another worksheet the save
in a space delimited(.prn) format. I don't know how many rows I will be
copying but I'm dealing with two columns. One is a numeric value the other
is a title. I need to reformat the numeric to five digits, and reformat the
titles to have ' ' around the values.

Example Reformat
5 fname field 00001/00005c, title='fname'
5 lname field 00006/00005c, title='lname'
7 city field 00011/00007c, title='city'



Left is raw data right is reformatted data. There can be many more rows
this is just an example. Also the first # is derived from a formula, based
on the two previous #. The very first # is always 1, 1155, 1355
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
Writing Search Macros gwtechie72 New Users to Excel 6 November 12th 07 01:34 PM
Writing Macros GRoger Excel Discussion (Misc queries) 2 October 25th 07 10:43 PM
Writing Macros sportsbarn Excel Worksheet Functions 2 April 7th 06 10:40 AM
Books on writing Macros JC Excel Discussion (Misc queries) 1 January 29th 05 11:45 PM
Writing Macros in Excel Shannon Excel Programming 6 August 13th 04 07:58 PM


All times are GMT +1. The time now is 02:19 PM.

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

About Us

"It's about Microsoft Excel"