• Subscribe
  • Submit an Article
  • Submit a Link
  • Home
  • Advertise
  • Links
  • Contact
  • About
Someone asked me today on how to change the size of radio button's font. In this kind of situation, the first thing that comes to mind is to use the font resizing function for the cells. But, you can not use it to a form control like the radio button.To change the font size of a form control, right click on the radio button and choose "Properties" in the pop-up menu that appears. The properties window will be displayed as shown in the screen...
Read More
Posted by Catholic Prayers on Tuesday, April 29, 2008
Scenario:You have a spreadsheet that has amount in US Dollar and you need to convert it to other currency. The conversion should be done automatically whenever the workbook is open. The currency rate should be based on the latest conversion rate. As an example, let's say the conversion would be from US Dollar to Singaporean Dollar. How can we do this?Solution:In this situation, we are going to use a web query to capture the current currency...
Read More
Posted by Catholic Prayers on Sunday, April 27, 2008
I am a little bit off topic with this one but if someone in my office is having this kind of problem then most likely some of the million of users of MS Word around the world are also searching for a way to solve it.Here’s the scenario:You have many pages, let’s say 30, of enumerated items using “Bullets and Numbering” function of Word having two or more sub-bullets in each bulleted items and you want to change the Tab spacing of one of the particular level of all the bulleted items. If you select each and adjust the spacing...
Read More
Posted by Catholic Prayers on Thursday, April 17, 2008
0 comments
categories: | edit post
Sometimes in your business application programming using VBA, you'll find yourself in a situation wherein you need to rename a file. Macro Recording at this point will not be helpful as you cannot do the renaming in Excel interactivity. Here are two ways of doing it at a VBA level:Sub DoRename()Name "c:\test.xls" As "c:\test2.xls"End SubAnother way of doing it is by using the CreateObject function:Sub DoRename()Dim fso As ObjectSet fso = CreateObject("Scripting.FileSystemObject")fso.MoveFile "c:\test.xls", "c:\test2.xls"Set...
Read More
Posted by Catholic Prayers on Thursday, April 10, 2008
0 comments
categories: | edit post
A few days ago, somebody asked me how to limit the scrolling of a worksheet as soon as he opened his workbook file. He intended to make the first sheet as a Title Page so he should find a way to do it. At first, I thought it was just a simple Excel "setup" workaround at the Tools menu. But after a few minutes of looking around it, I didn't find a way to do the task (or maybe there was one but I didn't find it). So, I ended up making a simple Macro program at the workbook's "Open" event. Here's how I did it:Private Sub Workbook_Open()...
Read More
Posted by Catholic Prayers on Tuesday, April 8, 2008
2 comments
categories: | edit post

Followers