vba statement excel

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 » VBA statement for Excel 2003 - To copy information by different

VBA statement for Excel 2003 - To copy information by different

resolvedResolved · Low Priority · Version 2003

Gary has attended:
Access VBA course
Excel VBA Advanced course

VBA statement for Excel 2003 - To copy information by different

Good morning,

I have an offence code spreadsheet, these are grouped by an Integer value in the Offence Group column on the spreadsheet. I would like a bit of code that basically knows which group it is sorted by on the column and then if there is a new offence it inserts a new cell and updates a linked spreadsheet that I have namely G20 offences codes.

I have tried a few different ways but I have multiple debugging errors.

So, basically it recognises the integer value i.e. 15 and then if there is a new offence it inserts a new row underneath the group and then transfers this information to a new spreadsheet.

If you could help me on this urgently that would be greatly appreciated.

Thanks,

Gary

RE: VBA statement for Excel 2003 - To copy information by differ

I have resolved this!!

 

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:

Autofit column width – Excel (all versions)

a. Highlight the column or columns you wish to alter the width of. You do this by clicking on the grey button at the top of the column showing the column letter. Click and drag on these letters to select more than one column.
b. Double click the dividing line between the columns. This dividing line is the break between the columns on the column headers (grey buttons showing the column letter at the top of each column). When you hover your mouse over one of these dividing lines the point will change and show an arrow pulling a line in two directions. When you have this mouse pointer you should double click to get Excel to automatically set the column width to fit the contents of the column (autofit)

View all Excel hints and tips


Server loaded in 0.07 secs.