From: myasmana on
I have a spreadsheet that needs to be converted here at work. The problem is
that in a couple of columns such as 'South Dakota 'Illinois 'Nebraska
You do not see the (') until you are in the cell, is there a global way to
delete this?
There are way to many to try and fix manually. Any help would be appreciated.

Thanks,
Barb

From: Mike H on
Hi,

Try this macro

Sub Kill_Apostrophe()
Dim c As Range
Application.ScreenUpdating = False
For Each c In ActiveSheet.UsedRange
If c.HasFormula = False Then
c.Value = c.Text
End If
Next c
Application.ScreenUpdating = True
End Sub
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"myasmana" wrote:

> I have a spreadsheet that needs to be converted here at work. The problem is
> that in a couple of columns such as 'South Dakota 'Illinois 'Nebraska
> You do not see the (') until you are in the cell, is there a global way to
> delete this?
> There are way to many to try and fix manually. Any help would be appreciated.
>
> Thanks,
> Barb
>
From: myasmana on


"myasmana" wrote:

> I have a spreadsheet that needs to be converted here at work. The problem is
> that in a couple of columns I have data with (') in front of each word such as : 'South Dakota 'Illinois 'Nebraska
> You do not see the (') until you are in the cell, is there a global way to
> delete this?
> There are way to many to try and fix manually. Any help would be appreciated.
>
> Thanks,
> Barb
>
From: myasmana on
Mike,

Thank you so very much, this worked!! Saved us lots of time.

Barb

"Mike H" wrote:

> Hi,
>
> Try this macro
>
> Sub Kill_Apostrophe()
> Dim c As Range
> Application.ScreenUpdating = False
> For Each c In ActiveSheet.UsedRange
> If c.HasFormula = False Then
> c.Value = c.Text
> End If
> Next c
> Application.ScreenUpdating = True
> End Sub
> --
> Mike
>
> When competing hypotheses are otherwise equal, adopt the hypothesis that
> introduces the fewest assumptions while still sufficiently answering the
> question.
>
>
> "myasmana" wrote:
>
> > I have a spreadsheet that needs to be converted here at work. The problem is
> > that in a couple of columns such as 'South Dakota 'Illinois 'Nebraska
> > You do not see the (') until you are in the cell, is there a global way to
> > delete this?
> > There are way to many to try and fix manually. Any help would be appreciated.
> >
> > Thanks,
> > Barb
> >
From: Mike H on
Glad I could help and thanks for the feedback
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"myasmana" wrote:

> Mike,
>
> Thank you so very much, this worked!! Saved us lots of time.
>
> Barb
>
> "Mike H" wrote:
>
> > Hi,
> >
> > Try this macro
> >
> > Sub Kill_Apostrophe()
> > Dim c As Range
> > Application.ScreenUpdating = False
> > For Each c In ActiveSheet.UsedRange
> > If c.HasFormula = False Then
> > c.Value = c.Text
> > End If
> > Next c
> > Application.ScreenUpdating = True
> > End Sub
> > --
> > Mike
> >
> > When competing hypotheses are otherwise equal, adopt the hypothesis that
> > introduces the fewest assumptions while still sufficiently answering the
> > question.
> >
> >
> > "myasmana" wrote:
> >
> > > I have a spreadsheet that needs to be converted here at work. The problem is
> > > that in a couple of columns such as 'South Dakota 'Illinois 'Nebraska
> > > You do not see the (') until you are in the cell, is there a global way to
> > > delete this?
> > > There are way to many to try and fix manually. Any help would be appreciated.
> > >
> > > Thanks,
> > > Barb
> > >