Related:
- Plz Help- need sheetname for each row importd
- Saints row 2 cheats - Guide
- How to delete a row in word - Guide
- Saints row pc download - Download - Action and adventure
- The following excel image has a vba program (see below). what will be the result after the program is executed? any cells not displayed are currently empty, and any cells with numbers are formatted numeric. sub afdo a=0 lastrow = cels(rows. count, 1). end(xdup). row for i =14 to lastrow step 2 a=a cellsii. 5) value next cells(lastrow 2, 1) value = "the sum - Guide
- Excel repeat row - Guide
1 reply
just to add...
originally the codes working fine, I just added some lines which i thought would be able to give me sheetname as against each row imported, in the last column
may be there is problem with these lines only :---
------------------------------------------
Dim Sh2 As String
Sh2 = ws.Name
Worksheets(sh1).Range("B" & lastTabCol).Value = Sh2
-----------------------------------------
so the point is if you make these line 'OFF, the code works fine without it, but i need sheet name in the last column for each row imported as well... PLZ help
originally the codes working fine, I just added some lines which i thought would be able to give me sheetname as against each row imported, in the last column
may be there is problem with these lines only :---
------------------------------------------
Dim Sh2 As String
Sh2 = ws.Name
Worksheets(sh1).Range("B" & lastTabCol).Value = Sh2
-----------------------------------------
so the point is if you make these line 'OFF, the code works fine without it, but i need sheet name in the last column for each row imported as well... PLZ help