Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Trupti Patil   on Mar 22 In MS Office Category.

  
Question Answered By: Alisha Johnson   on Mar 22

Dim wbook As Workbook, wsheet As Worksheet

Set wbook = Workbooks.Open(Filename:=str_sbodirectory & str_sbofilename)

With wbook

On Error Resume Next
Set wsheet = wbook.Sheets(str_sboworksheetdate)
On Error GoTo 0

If wsheet Is Nothing Then

.Worksheets("Master").Copy Before:=.Worksheets("Master")
End If

End With

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Workbook and Worksheet manipulation Or get search suggestion and latest updates.


Tagged: