yorkshirelad
Board Regular
- Joined
- Aug 18, 2003
- Messages
- 100
I'm nearly there with a large project but I have two questions which I'd really appreciate some help with...
1) I have a workbook (feedback.xlsm) in a folder (goods) on my desktop
I need a macro to to add to the workbook to import a csv file e.g. sales.csv Destination:=Range("$A$1")). The csv file is in the same folder as the workbook.
I can record the formatting etc but because the macro to import the file needs to work on different pcs - I need to do this this without referencing the full path. (This is to prevent the use of Users\Name\Desktop etc.
2) When I've formatted the content I would then like a macro to save the new file as formatsales_ddmmmyy.xls in the same folder (goods).
Any help would be really appreciated.
1) I have a workbook (feedback.xlsm) in a folder (goods) on my desktop
I need a macro to to add to the workbook to import a csv file e.g. sales.csv Destination:=Range("$A$1")). The csv file is in the same folder as the workbook.
I can record the formatting etc but because the macro to import the file needs to work on different pcs - I need to do this this without referencing the full path. (This is to prevent the use of Users\Name\Desktop etc.
2) When I've formatted the content I would then like a macro to save the new file as formatsales_ddmmmyy.xls in the same folder (goods).
Any help would be really appreciated.