How to.......

R

Ram

I want that when i save the the excel, one coloum should
be always blank.

e.g field A1.
i always make changes in the filed A1 marking * and
selecting the same. But when i save i want that A1 coloum
should be blank i.e without any *

whould be grateful if got help
 
F

Frank Kabel

Hi
one way would be using the workbook_Beforeclose event.
Put the following code into your workbook module (not in a standard
module):


Private Sub Workbook_BeforeClose(Cancel As Boolean)
dim wks as worksheet
set wks = me.worksheets("sheet1")
wks.range("A:A").clearcontents

Application.displayalerts = false
me.save
Application.displayalerts = True
end sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top