View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Newbie80[_11_] Newbie80[_11_] is offline
external usenet poster
 
Posts: 1
Default open as read only


Im opening a different workbook and Im copying a sheet from it. Thought
I opened it as readonly, but sometimes it still asks if I want to save
the changes.

Set sourceWb = Workbooks.Open(filepath, True, False)
........
..............
(can I write something like sourceWb.Don'tSave or something)

sourceWb.Close


--
Newbie80
------------------------------------------------------------------------
Newbie80's Profile: http://www.excelforum.com/member.php...o&userid=25946
View this thread: http://www.excelforum.com/showthread...hreadid=394562