Thread
:
Activate Previous worksheet after adding a new worksheet
View Single Post
#
2
Posted to microsoft.public.excel.programming
Dave Peterson
external usenet poster
Posts: 35,218
Activate Previous worksheet after adding a new worksheet
dim mySelection as range
set myselection = selection
'add your worksheet
application.goto myselection
wrote:
I want to activate the worksheet that was active before I added a new
sheet to the workbook in VBA for excel. Can anyone help me on how to do
that?
--
Dave Peterson
Reply With Quote
Dave Peterson
View Public Profile
Find all posts by Dave Peterson