ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Macro To Populate Columns (https://www.excelbanter.com/excel-programming/423588-macro-populate-columns.html)

Bob

Macro To Populate Columns
 
I have a spreadsheet that I need to populate 3 columns: Sales, ShipTo/BillTo
and
Product. What I would like to do is to create a macro that will populate
the columns based on the values I specify.

Thanks

--
Bob

kirkm[_8_]

Macro To Populate Columns
 
On Fri, 6 Feb 2009 20:36:45 -0800, Bob
wrote:

I have a spreadsheet that I need to populate 3 columns: Sales, ShipTo/BillTo
and
Product. What I would like to do is to create a macro that will populate
the columns based on the values I specify.


This populates a cell.

With Worksheets("YourSheetName")
..Cells(row,Column) = Your Data
End With

But how you call that and assign 'Your Data' requires more overview.

Cheers - Kirk


All times are GMT +1. The time now is 05:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com