Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I have a column of numbers in the format 99999-99999. What is a simple macro to remove the dash?

0
Posted

I have a column of numbers in the format 99999-99999. What is a simple macro to remove the dash?

0

You don’t need a macro. Highlight the column and use Edit – Replace. In the “Find What”, enter a dash. Leave “Replace With” blank. Click “Replace All”. Hey! Excel used to have letters to indicate the columns. Now, all of a sudden, there are numbers for the columns. You have Excel set up to use the R1C1 style of cell notation. Go to Tools > Options. Pick the General Tab. The first box in the settings section is checked (“R1C1 reference style”). Uncheck this box. Click OK. Your problem should be solved.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123