Sometimes, you might need to create a desktop shortcut to Onedrive documents. Below is a method for Excel documents which can be used for any MS Office document. First, you would need to find the path of Excel.exe on your computer.
Category: Tips and Tricks
Tips & Tricks 175 – Color Code for Official Color of Excel
Everybody sees the dark green color of Excel. The color code for this color is
Tips & Tricks 174 – VBA – OR Condition in FIND
FIND is a very powerful function in VBA but it doesn't support OR condition. Hence, if you want to find say two values "A" or "B", then you can code an array within FIND. To do OR in FIND, you will need to use following code (this is a sample code only, there can be…
Tips & Tricks 173 – Data Validation for Case Sensitivity
There are scenarios when you want to put a data validation which is case sensitive. Hence you want USA to be entered as USA not as usa or uSA or uSA so on. You just want all capitals. Similarly, sometimes you need only small letters say maverick. Hence, not Maverick, mavericK etc.
Tips & Tricks 172 – Calculate Next Working day if date is of Weekend / Holiday
Suppose you are given a date and you are asked to calculate next working day if date is of weekend. If date is a regular workday, then you should show the same date. For example – 8-Mar-19 is a working day. Hence, you should show the same date. But if this is either 9-Mar-19 or…
Tips & Tricks 171 – Convert your formulas to Absolute References
If your sheet has plenty of formula and you want to convert them into Absolute references i.e. One way is that you convert each one of them individually or use some logic for Find and Replace. But all these methods have their own limitations.
Tips & Tricks 170 – Calculate Previous Working day if date is of Weekend / Holiday
Suppose you are given a date and you are asked to calculate Previous Working day if date is of weekend. If date is a regular workday, then you should show the same date. For example – 8-Mar-19 is a working day. Hence, you should show the same date. But if this is either 9-Mar-19 or…
Tips & Tricks 168 – Sum Cells for a Particular Color
This can be accomplished with VBA only. There is no native formula within Excel to support this. This is a fairly small piece of code.. 1. Make a backup of your workbook. 2. Open your workbook and ALT+F11 3. Locate your Workbook name in Project Explorer Window 4. Right click on your workbook name >…
Tips & Tricks 169 – Get the Source of a Pivot Table
1. Make a backup of your workbook. 2. Open your workbook and ALT+F11 3. Locate your Workbook name in Project Explorer Window 4. Right click on your workbook name > Insert > Module 5. Copy & Paste the below code in this module Now, you can call this function like =GetPivotRange(E5) Where E5 is any…
Tips & Tricks 167 – Shortcut for Refresh All Pivot Tables Not Working
To refresh a Pivot table, the shortcut is ALT+F5. If you want to refresh all Pivots in the workbook, the shortcut is CTRL+ALT+F5. This magical shortcut would do the trick and you don't need any macro to perform this task. But on most of the computer this shortcut may not work. The reason is most…