Copying cells from one workbook to another and saving an individual file for each cell

Andyg666

New Member
Joined
Apr 24, 2024
Messages
27
Office Version
  1. 365
Platform
  1. Windows
Hi,
I am new to macros but hope you can help me.
I have a list of items and related information (model, serial number etc) and I need a macro so that I can press a button and export the item name and serial number of each item into another workbook for each item on the original list including a pop up option of where these new workbooks would be saved.

I hope this makes sense, please help
 
It should only include C3 & C4 & C5 & H3 and the extension "xlsx".
 
Upvote 0

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
It should only include C3 & C4 & C5 & H3 and the extension "xlsx".
Yes for the actual file name but I think windows or excel count the characters of the file path as part of the max number of characters. Its working fine now if I don't include C5 in the file name and I have the smallest possible file path.

It works until a cell that would be too long as a file name pops up then I get the error. Problem is I don't know its too long until the error pops up and then I have to start again which is a pain as it takes a long time to work through. There is 612 rows in the actual data file.
 
Upvote 0
Maybe you can consider a different way of naming the file.
 
Upvote 0
You are very welcome. :)
Hi Mumps i wonder if you can also assist me please? i have a simple excel sheet with Name and Date of Graduation.

A1 Name... B1 Date
A2 John B2 20/02/2024
A3 Michelle B3 20/02/2024
A4 Jay B4 10/04/2024

the list goes on.. i would like the file linked to the powerpoint and each name and date of training generates a pdf certificate. is this possible? if so i can share a basic file and graduation certificate files
 
Upvote 0
Hi and welcome to the forum. Please start your own new thread and explain in detail what you want to do.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top