Excel saveas using a variable

When I run this code in Sketchup, it performs it’s duties, then opens
excel, enters the info, then I want it to save as the Address.

And that is where I am having the problem.

Thanks.

ents=Sketchup.active_model.active_entities

On Tue, Nov 11, 2014 at 07:12:29AM -0600, David Morrison wrote:

When I run this code in Sketchup, it performs it’s duties, then opens
excel, enters the info, then I want it to save as the Address.

workbook.SaveAs(“C:\TestFolder” + b + “.xlsx”)#trying to get 'Customer

Address’ as the saved workbook

Try
workbook.SaveAs(“C:\TestFolder\” + b + “.xlsx”)

Best Regards
Masaki S.

That did it thanks

On Mon, Nov 17, 2014 at 4:38 AM, MasakiSuketa
[email protected]