Outputting to another excel file

  • Thread starter Thread starter bobd
  • Start date Start date
B

bobd

Hello;

I am pretty new to excel and visual basic programming. I have an
excel sheet with 385 items. Each item has a checkbox next to it.
Each item has a 2 line description, making the spreadsheet 1158 lines
including a 3 line heading. It is a restaurant list of food items to
order.

I need a macro that checks if a check box is checked, and if it is,
outputs the item and it's description to another excel file, appending
as items are checked. If possible, i would like the new outputted
file to have the same formatting as the original. I guess this would
mean having a .xls file pre-created for output.

I have tried some vb code and suceeded at getting output to a text
file, but am having difficulty with cell ranges and 2015 errors. I
have researched the print # function, and have tried unsuccesfully
with some loops.

Any help would be really appreciated from those more experienced at
programming.

bobd
 

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

Back
Top