Excel Macro
Solved/Closed
Related:
- Excel Macro
- Spell number in excel without macro - Guide
- Excel marksheet - Guide
- Excel apk for pc - Download - Spreadsheets
- Macros in excel download free - Download - Spreadsheets
- Kernel for excel - Download - Backup and recovery
1 response
TrowaD
Posts
2921
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
December 27, 2022
555
Jan 19, 2012 at 10:33 AM
Jan 19, 2012 at 10:33 AM
Hello Macro Newbie,
Your problem is this line:
Trowa
Your problem is this line:
Rows("(x+12):(x+12)").SelectChange it into this:
Rows(x + 12).SelectBest regards,
Trowa
Feb 10, 2012 at 03:23 AM
It's now stalling at a similar line:
Range("a(x+12):q(x+12)").Select
Selection.Merge
where I am trying to merge columns A to Q on my row (x+12). Is there another way to describe this range?
Many thanks in advance for anyone's help on this again.
Regards.
Feb 13, 2012 at 10:06 AM
Range("A" & (x + 12) & ":Q" & (x + 12)).Select
I personally would use:
Range(Cells(x + 12, "A"), Cells(x + 12, "Q")).Select
Best regards,
Trowa
Feb 16, 2012 at 02:35 AM