![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Join Date: Sep 2002
Location: Bristol
Posts: 71
|
I've written some code in ms excel objects, for a worksheet, and want to call code for another objects worksheet at the end. I've tried
Sub Sheet1() (code) Call Sheet2 End Sub ................ Sub Sheet2() (code) End Sub but when i try to run it it says there's an expected function or variable. it works when i use modules but for this code i need it in the worksheet. any suggestions? |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|