Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Carole Walker   on Mar 26 In MS Office Category.

  
Question Answered By: Ibadah Younis   on Mar 26

Are you running any on save  macros?
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)

As for the Range(rangeText).Select
Try adding the sheet name to the line.
Worksheet("Sheet1").Range(rangeText).Select

If you are on sheet1 when the macro is executed and rangeText is on sheet2 it
might give the error.

Share: 

 

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

 
Didn't find what you were looking for? Find more on Excel VBA Errors on Saving Workbook Or get search suggestion and latest updates.


Tagged: