Avatar of beatified
beatifiedFlag for United States of America

asked on 

Help with a AutoHotKey Script

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.

Here is a sample of the workbook... Sample.xlsx
ProgrammingMicrosoft Office* COM ObjectsScripting LanguagesMicrosoft Excel

Avatar of undefined
Last Comment
Joe Winograd
Avatar of Joe Winograd
Joe Winograd
Flag of United States of America image

Hi Stuart,
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
Avatar of beatified
beatified
Flag of United States of America image

ASKER

Beyond grateful for your help Joe!!!!!!!
ASKER CERTIFIED SOLUTION
Avatar of Joe Winograd
Joe Winograd
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of beatified
beatified
Flag of United States of America image

ASKER

Perfect!!!

Thanks so much for all your help you have been indispensable to me.

Stuart
Avatar of beatified
beatified
Flag of United States of America image

ASKER

To say Joe is helpful is an understatement I just hope his generosity and knowledge is not taken advantage of.
Avatar of Joe Winograd
Joe Winograd
Flag of United States of America image

You're very welcome, Stuart, and my thanks back at you for the kind words...much appreciated! Regards, Joe
Microsoft Excel
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.

144K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo