Ok I'm practically pulling my hair out on this. I have to be honest with myself and who ever helps me (cough, cough, "Joe"). I am just having a horrible time figuring out what I desire to achieve.
My Goal is this...
Using an Excel workbook and specific sheet I want the data in the range of B3:I3 to be stored as Variables preferably like this. eg. Apt1, Let1, Payee1, Amt1, CheckNum1, PmtType1, ReceiptNum1 then Apt2, Let2, and so on. If its easier to do in a different way I'm fine with that.
This should loop the by the value of F1 on that sheet witch counts the number of fields that have a value in the Payment amount column.
All I want to do is have a list of variables in the end that I can call individually later.
A simple MsgBox showing limited data just to show it it working would be great but I can do that as well.
I know I am asking a lot but I am hoping that its not as much for someone else as it would be for me
So the UI would be...
Run the script.
Get a dialog asking for the Deposit number to process and set that as the worksheet variable.
and then variables are created.
Formatting of the sheet will always be the same.
All preceeding zeros should stay in tact on Apt #, Check #, and Receipt #
If Letter is blank I would like it to store a variable witch returns nothing (ie No space)
If possible I would like to store the date as Year1, Month1, and Day1 instead of Date1
I think that covers it all I hope I can do something in return for the lucky one.
You're very welcome, Stuart, and my thanks back at you for the kind words...much appreciated! Regards, Joe
Microsoft Excel
Microsoft Excel topics include formulas, formatting, VBA macros and user-defined functions, and everything else related to the spreadsheet user interface, including error messages.
Thanks for the sample workbook...that's very helpful! I should be able to take a run at this later in the day. Regards, Joe