This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub MakeFiltersActivate() | |
Dim wb As Workbook | |
Set wb = Application.Workbooks("WORKBOOK") | |
Dim ws As Worksheet | |
Set ws = wb.Worksheets("WORKSHEET") | |
ws.Cells(1, 2).Value = "Pennsylvania" | |
Debug.Print ws.Cells(1, 2).Value | |
Debug.Print ws.Cells(6, 2).Value |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub ImportCSV() | |
Dim myarray() As Variant | |
MyPath = Application.GetSaveAsFilename() | |
For i = 0 To 16384 | |
ReDim Preserve myarray(i) | |
myarray(i) = 2 | |
Next i | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# comment | |
library(xlsx) | |
dir <- "//[FILESHARE]/[FOLDER]" | |
files <- list.files(dir) | |
listOfStuff <- NULL | |
for (wb in files) { |
NewerOlder