Basic Excel Problem

P

ppatin

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.
 
A

app_trainer

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.
 
P

ppatin

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top