Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 125
Default Write Macro to Fix Data Alignment (Data dump from Crystal to Excel

Hi,
I have a crystal report that exports to excel, but it's ugly when it gets
there.
(No other way to get the data)
I need to fix the below data so that the ID sits on the Total Line.
Not every line has the same number of rows between ID and total.
There are 106 IDs.

ID CLIENT
6684991 Client Name
Staff Type 1
Staff Type 2
Staff Type 3
Totals

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 125
Default Write Macro to Fix Data Alignment (Data dump from Crystal to Excel

I think maybe I need to do a loop. I can write a macro to copy the id, find
the word total, move back one and paste the id, but how do I get it to do
that until the last row? Thank you!

"Karin" wrote:

Hi,
I have a crystal report that exports to excel, but it's ugly when it gets
there.
(No other way to get the data)
I need to fix the below data so that the ID sits on the Total Line.
Not every line has the same number of rows between ID and total.
There are 106 IDs.

ID CLIENT
6684991 Client Name
Staff Type 1
Staff Type 2
Staff Type 3
Totals

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Write Macro to Fix Data Alignment (Data dump from Crystal to Excel

I'd put it on all the lines in between, too.

If that's ok...

Debra Dalgleish shares some techniques:

http://contextures.com/xlDataEntry02.html
http://www.contextures.com/xlVideos01.html#FillBlanks

Karin wrote:

Hi,
I have a crystal report that exports to excel, but it's ugly when it gets
there.
(No other way to get the data)
I need to fix the below data so that the ID sits on the Total Line.
Not every line has the same number of rows between ID and total.
There are 106 IDs.

ID CLIENT
6684991 Client Name
Staff Type 1
Staff Type 2
Staff Type 3
Totals


--

Dave Peterson
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
can I write an Excel macro to pause for data entry then continue? kiwiwaldo Excel Discussion (Misc queries) 3 June 30th 08 10:25 AM
Data export from Crystal to Excel Lantaga Excel Discussion (Misc queries) 1 September 7th 06 08:01 PM
write macro to input data Macro Help New Users to Excel 4 December 30th 05 12:10 AM
Condensing a large data dump Ant Excel Discussion (Misc queries) 1 October 4th 05 06:30 PM
is it possible to execute write to the fields in another .xsl form a macro in another .xsl? e.g. some way to load another .xsl into an .xsl macro and write to its data? Daniel Excel Worksheet Functions 1 June 23rd 05 11:38 PM


All times are GMT +1. The time now is 07:05 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"