PC Review


Reply
Thread Tools Rate Thread

Basic Excel Problem

 
 
ppatin
Guest
Posts: n/a
 
      16th Jan 2004
Hi, I'm new to Excel macro writing, and there's a task I could use some
help with. I have a spreadsheet that has data we need to export into a
text file. We don't need to export every row, so ideally I could create
a macro which would check one column, which would indicate whether that
row should be exported or not. Also, in the data we are exporting we
have an eight digit string of numbers which we need to break up into
eight seperate single digits in the text file. Suggestions or ideas
about how to do this would be appreciated. I have some programming
experience, but have never done any in Excel before.


---
Message posted from http://www.ExcelForum.com/

 
Reply With Quote
 
 
 
 
app_trainer
Guest
Posts: n/a
 
      16th Jan 2004
I'm not sure of the macro for exporting. But your second question about
converting a string into many parts can be accomplished by using
Text-to-Columns. From the main menu, select Text-to-Columns and step
through the wizard. For your example, use FixedText. That allows you to
'slice' your data into as many parts as you'd like. Hope that helps.


---
Message posted from http://www.ExcelForum.com/

 
Reply With Quote
 
ppatin
Guest
Posts: n/a
 
      16th Jan 2004
Thanks for your advice about splitting strings. I guess another thing
should have asked is if anyone can reccomend a good site that wil
teach me the basics of writing macros in Excel, since this is my firs
time creating one

--
Message posted from http://www.ExcelForum.com

 
Reply With Quote
 
John Wilson
Guest
Posts: n/a
 
      16th Jan 2004
ppatin,

> should have asked is if anyone can reccomend a good site that will
> teach me the basics of writing macros in Excel, since this is my first
> time creating one.

Try here for a start:
http://support.microsoft.com/default...01/default.asp

and take a look towards the bottom of this page for more:
http://www.mvps.org/dmcritchie/excel/excel.htm

John

"ppatin >" <<(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
> Thanks for your advice about splitting strings. I guess another thing I
> should have asked is if anyone can reccomend a good site that will
> teach me the basics of writing macros in Excel, since this is my first
> time creating one.
>
>
> ---
> Message posted from http://www.ExcelForum.com/
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 Basic Filters Problem Simon Whale Microsoft Excel Setup 1 15th Oct 2009 06:27 PM
Basic problem with EXCEL 2002 pauldepstein@att.net Microsoft Excel Misc 1 24th Oct 2006 01:16 AM
visual basic .net and excel problem cappa Microsoft Excel Programming 0 4th Apr 2006 04:33 AM
Problem running basic SQL in excel... =?Utf-8?B?Um9uZQ==?= Microsoft Excel Programming 2 15th Mar 2006 11:11 PM
Excel - Virtual Basic problem Ron Microsoft Excel Misc 3 1st Apr 2004 03:41 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:16 PM.