Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
right now this code exports to another sheet, and only exports the active
cell. I would like to export a given cell range in a row (A4:C4, F4,I4:Q4), with a comfirmation based on F4 being "y" vs "n". Sub ClickAdd() Dim rngAvailable As Range, rngCell As Range, bolSuccess As Boolean Set rngAvailable = ThisWorkbook.Worksheets("Sheet1").Range("B18:B40") 'Range Of Cells that needs to change' For Each rngCell In rngAvailable If rngCell.Value = vbNullString Then rngCell.Value = ActiveCell.Value bolSuccess = True Exit For End If Next If Not bolSuccess Then MsgBox "Ran outta spaces...", 0, "" End If is there also a way to verify if a given name has already been exported? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Calcuting sum of specific word "P" within specific cell range (A5: | Excel Worksheet Functions | |||
Protecting a Range of Specific Cell/s | Excel Discussion (Misc queries) | |||
Protecting a Range of Specific Cell/s | Setting up and Configuration of Excel | |||
Refer a specific cell in a named cell range | Excel Programming | |||
Message Box if cell value not in specific range | Excel Programming |