Christmas lights macro

  • Thread starter Thread starter pmolsen
  • Start date Start date
P

pmolsen

One minor correction. The Writei2c has to be on the same line as th
other stuff. I think it should read:

...
myStr = "writei2c w1,(%"
..
 
Your original post got hit by line wrap--so I matched what I saw <bg>.

Does this mean you got it working?

And (as a creature of habit (and copy|paste)), I sometimes add this:

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm


Short course:
Open your workbook
Hit alt-f11 to get to the VBE (where macros/UDF's live)
hit ctrl-R to view the project explorer
Find your workbook.
should look like: VBAProject (yourfilename.xls)

right click on the project name
Insert, then Module
You should see the code window pop up on the right hand side

Paste the code in there.

Now go back to excel and test it out--Tools|macro|macros...|Run
Testme

(but you should rename that to something meaningful.)
 

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

Similar Threads

Windows 7 Windows 7 and IE7 2
Insert "Find dialog box" edits into macro 3
Pause Macro 2 3
Merry Christmas! 8
Ucase / macros 1
HAPPY CHRISTMAS Everyone. 9
Paste Values REPOST 1
Exiting a loop... 4

Back
Top