macro rawsqtocol

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Macro RAWSqtoCol

Macro RAWSqtoCol

resolvedResolved · High Priority · Version 2016

Diego has attended:
Excel Intermediate course
Excel VBA Introduction course
Excel VBA Intermediate course

Macro RAWSqtoCol

Hi!

My name is Diego. At my company we do lots of data collection and we have been working for years with a macro (which we call RAWSqtoCol) that picks up all data points that are on a data square called "Raw Data" and transposes them to another column. Although it has always mostly worked fine, lately we have been having some problems with the macro (in spite of the fact that the code of the macro remains exactly the same). When inserting the data from some (not all) variables, the RAWSqtoCol macro will not pick up two specific cells. Those two cells contain the value 1.0 (but they are not the only ones who contain that value). Nevertheless, if we change the values inside those cells (e.g. from 1.0 to 2.0 or from 1.0 to . - the latter means missing data point for us-), the macro will pick them up again and correctly place them on the transposed column.

I would like to ask whether you have any ideas about why this could be happening. If you provide me with an email, I could send you our Excel data collection template containing the macro as well as the inserted raw data.

Looking forward to hearing back from you!

Best,
Diego

RE: Macro RAWSqtoCol

Hi Diego,

Thank you for the forum question.

It sounds strange that the code do not pick up cells with the value 1.0 but do it if you change the value.

You can send the file to:

info@stl-training.co.uk





Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Formula for last day of month

In some cases it is necessary to find the last day of a month for a given date. If you use the following formula, you can achieve this, ie; if you have a column of dates, use this formula to find the end of month for each day by using the fill handle. The formula is as follows, and assumes in this example that the first date in question is in cell C5, in any other cell type; =DATE(YEAR(C5),MONTH(C5)+1,1)-1

View all Excel hints and tips


Server loaded in 0.09 secs.