Main | June 2006 »

April 29, 2006

Microsoft Excel: Delete all hyperlinks on a sheet

Question:  I've had a hyperlink problem in my Excel files for ages: false hyperlinks had crept in (even in empty cells) and were multiplying regularly whenever I inserted new lines. How can I delete all hyperlinks in a sheet at once and not have to delete them cell by cell?


Answer:  You will need to create a macro to delete the hyperlink addresses in your Excel sheet.

Open your Excel spreadsheet that you wish to remove the hyperlinks from. Press <ALT>-F11 to go to the Visual Basic editor. Create a new module. You can do this by selecting Module under the Insert menu.

Paste the following code into your new module:

   Sub RemoveHyperlinks()

       'Remove all hyperlinks from the active sheet
       ActiveSheet.Hyperlinks.Delete

   End Sub

Close the Visual Basic editor window by selecting "Close and Return to Microsoft Excel" under the File menu.

Now, go to the sheet that contains the hyperlinks that you wish to delete. Here is an example of a sheet with multiple hyperlink addresses:

delete_hyperlinks001.png

Under the Tools menu, select Macro > Macros. Highlight the macro called "RemoveHyperlinks" and click on the Run button.

Now your hyperlinks should be deleted as you can see by the example below:

delete_hyperlinks002.png

If you need to remove hyperlinks from other sheets, just repeat the steps above.

Pink's Hot Dogs

When I went out to Los Angeles, Pink's was the place to be for good eats at a reasonable price. It's a cozy place where the walls are almost completely filled with celebrity photos who have visited the establishment. Pink’s is probably the only hot dog/burger joint with their very own parking attendant.

My friend and I went their twice in the wee hours of the morning around 2am. Can you believe there was a line of people at 2am?

My favorite thing on the menu was the Mulholland Drive Dog. It's a 10" Stretch Dog, grilled onions, grilled mushrooms, nacho cheese, and bacon on a bun. Delicious!

Pink's is in Hollywood, near the intersection of Melrose Avenue and North La Brea Boulevard, adjacent to the Northwest corner.

709 North La Brea Boulevard
Los Angeles, CA 90038

p: 323.931.4223
w: http://www.pinkshollywood.com

April 28, 2006

Shake Shack

If you're in the area, this is definitely a great place to go. Shack Shack closes for the winter because they only have outdoor seating available. Beware of the peak lunch time because the line can get very long.

Madison Square Park
23rd St & Madison Ave
New York, New York 10010

p: 212.889.6600
w: www.shakeshacknyc.com