cookeetree
Board Regular
- Joined
- Mar 2, 2015
- Messages
- 53
G'day Excel Gods,
I have an existing macro that creates a blank line at the top of my data table. I've just added a data entry form and want this to open when the macro runs. How do I get this to happen? I've tried adding "ActiveSheet.ShowDataForm" to the end of my existing macro, but this errors and I get this:
Run-time error '1004':
ShowDataForm method of Worksheet class failed
How can I make this work? Alternatively, how can I get my form to create the new line at the top of the sheet instead of the bottom???
Any help you could provide would be greatly appreciated.
Cheers, Jason.
I have an existing macro that creates a blank line at the top of my data table. I've just added a data entry form and want this to open when the macro runs. How do I get this to happen? I've tried adding "ActiveSheet.ShowDataForm" to the end of my existing macro, but this errors and I get this:
Run-time error '1004':
ShowDataForm method of Worksheet class failed
How can I make this work? Alternatively, how can I get my form to create the new line at the top of the sheet instead of the bottom???
Any help you could provide would be greatly appreciated.
Cheers, Jason.