Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks for the replies.
I've tried them both but they both debug on the Select line for the new worksheet. This is something dont get involved in so be gentle. what i've tried is Sheets("VAT Invoice").Select Range("A1:J37").Select Range("J37").Activate Selection.Copy ActiveCellValue = Sheets("VAT Invoice").Range("B4").Select nextsht = ActiveCell.Value Sheets(ActiveCell.Value).Select 'Sheets(Sheets("VATInvoice").Range("B4")).Select 'Sheets("nextsht").Select 'ActiveSheet.Paste The nextsht and activecell values are the correct value when i highlight the VB code. Any ideas? John |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
run macro although blinking cursor is active in an active cell | Excel Programming | |||
sending active sheet by mail without macro (from Ron's page) | Excel Programming | |||
Button to print non-active page - How? | Excel Programming | |||
which page is active | Excel Programming | |||
Make excel the active page | Excel Programming |