Skip to content
Code for Devs
  • Home
  • JavaScript
  • WordPress
  • Excel
  • VBA
  • C#
  • Miscellaneous
  • Contact Us
  • Home
  • codef4devs
  • Page 2

Author: codef4devs

Useful Windows CMD Commands to Work on Files and Folders

February 19, 2023February 19, 2023 codef4devs

The Windows command line (CMD) is one of the most useful utilities on a Windows PC. You can interact with the Operating System directly with the help of CMD and you can do a lot […]

Leave a commentMiscellaneous

Using InputBox in Excel VBA

January 29, 2023February 5, 2023 codef4devs

InputBox is an inbuilt function in Excel VBA that is used to get a value from the user. InputBox asks the user to enter the value and then can store the value in the variable […]

Leave a commentVBA

Export C# DataTable to MS Excel

November 20, 2022November 20, 2022 codef4devs

Here, in this post, we are going to show you an C# code example of exporting a C# datatable data to MS Excel with headers. Step1: Add reference to Microsoft Excel Interop in your application. […]

Leave a commentC#

Excel VBA Code to Remove Duplicate Values in a Data Range

November 2, 2022November 2, 2022 codef4devs

We use Remove Duplicates feature of excel application to remove duplicate data in a column. Same task we can do by using VBA code. Range.RemoveDuplicates method of exvel VBA helps you to do this. We […]

Leave a commentVBA

How to Get All Files Available in a Directory By C#

October 21, 2022October 18, 2022 codef4devs

This post shows an example of listing name of all files with extension, available in a folder. We need to import System.IO namespace in our program and Directory.GetFiles() method helps you to get the list […]

Leave a commentC#

Creating A Directory by C# Code

October 19, 2022October 18, 2022 codef4devs

In this post, we will demonstrate an example of creating a directory by using C# code. For creating a directory in file system, you need to import System.IO namespace in program and CreateDirectory() method of […]

Leave a commentC#

How to Check if a File Exists by Using C#

October 5, 2022October 5, 2022 codef4devs

When you need to check whether a particular file exists on a specified path, you can use File.Exists(string) method of C#. This method requires full file name i.e. file name along with its extension and […]

Leave a commentC#

How to Copy Visible Cells only in Excel Filter by C#

October 2, 2022October 2, 2022 codef4devs

After applying filter to excel range, rows not satisfying the filter condition get hidden and only rows satisfying the filter condition are visible. Refer our previous post for detailed Excel AutoFilter by C# information. Below […]

Leave a commentC#

Using Auto Filter on Excel Range by C#

September 28, 2022September 30, 2022 codef4devs

Here in this article, we are going to provide you an overview of applying and working with filters on Excel range. C# Syntax of Applying Filters in Excel The below code line applies filter on […]

Leave a commentC#

Find Last Used Row or Column of Excel in C#

August 22, 2022August 20, 2022 codef4devs

While working with excel using C# you can require to find the last used row or column in a range. Here in this post, we are providing you the code snippets that will simplify your […]

Leave a commentC#

Posts navigation

Previous 1 2 3 … 5 Next

Categories

  • C#
  • Excel
  • JavaScript
  • Miscellaneous
  • MySQL
  • VBA
  • WordPress

Recent Posts

  • Calculated Fields – Excel Pivot Table Advanced Feature
  • Get Mail Address of Sender from Outlook Mail Item Object by C#
  • Extracting Attachment from Outlook Mail Item using C#
  • Start, Stop and Restart MySQL Services on Windows 10
  • How to Protect an Excel File with Password
Copyright © All rights reserved.